Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c830 struct mlx5_ifc_l2_hdr_bits *l2_hdr = data; in dr_actions_l2_rewrite() local
850 hdr_fld_4b = MLX5_GET(l2_hdr, l2_hdr, dmac_47_16); in dr_actions_l2_rewrite()
864 hdr_fld_4b = (MLX5_GET(l2_hdr, l2_hdr, smac_31_0) >> 16 | in dr_actions_l2_rewrite()
865 MLX5_GET(l2_hdr, l2_hdr, smac_47_32) << 16); in dr_actions_l2_rewrite()
879 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, dmac_15_0); in dr_actions_l2_rewrite()
892 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, ethertype); in dr_actions_l2_rewrite()
896 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, ethertype); in dr_actions_l2_rewrite()
898 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, vlan); in dr_actions_l2_rewrite()
914 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, smac_31_0); in dr_actions_l2_rewrite()
922 hdr_fld_2b = MLX5_GET(l2_hdr, l2_hdr, vlan_type); in dr_actions_l2_rewrite()
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.c851 unsigned char *l2_hdr = skb->data; in hns3_set_l2l3l4() local
880 l2_hdr = skb_inner_mac_header(skb); in hns3_set_l2l3l4()
901 l2_len = l3.hdr - l2_hdr; in hns3_set_l2l3l4()