Searched refs:dscp_cp (Results 1 – 1 of 1) sorted by relevance
141 int dscp_cp = 0; in mlx5e_get_dscp_up() local144 dscp_cp = ipv4_get_dsfield(ip_hdr(skb)) >> 2; in mlx5e_get_dscp_up()146 dscp_cp = ipv6_get_dsfield(ipv6_hdr(skb)) >> 2; in mlx5e_get_dscp_up()148 return priv->dcbx_dp.dscp2prio[dscp_cp]; in mlx5e_get_dscp_up()