Home
last modified time | relevance | path

Searched refs:dscp_cp (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dselq.c143 int dscp_cp = 0; in mlx5e_get_dscp_up() local
146 dscp_cp = ipv4_get_dsfield(ip_hdr(skb)) >> 2; in mlx5e_get_dscp_up()
148 dscp_cp = ipv6_get_dsfield(ipv6_hdr(skb)) >> 2; in mlx5e_get_dscp_up()
150 return priv->dcbx_dp.dscp2prio[dscp_cp]; in mlx5e_get_dscp_up()