/drivers/scsi/fnic/ |
D | fnic_fcs.c | 1027 struct vlan_ethhdr *vlan_hdr; in fnic_eth_send() local 1032 vlan_hdr = skb_push(skb, sizeof(*vlan_hdr) - sizeof(*eth_hdr)); in fnic_eth_send() 1033 memcpy(vlan_hdr, eth_hdr, 2 * ETH_ALEN); in fnic_eth_send() 1034 vlan_hdr->h_vlan_proto = htons(ETH_P_8021Q); in fnic_eth_send() 1035 vlan_hdr->h_vlan_encapsulated_proto = eth_hdr->h_proto; in fnic_eth_send() 1036 vlan_hdr->h_vlan_TCI = htons(fnic->vlan_id); in fnic_eth_send() 1081 struct vlan_ethhdr *vlan_hdr; in fnic_send_frame() local 1096 eth_hdr_len = sizeof(*vlan_hdr) + sizeof(*fcoe_hdr); in fnic_send_frame() 1097 vlan_hdr = skb_push(skb, eth_hdr_len); in fnic_send_frame() 1098 eth_hdr = (struct ethhdr *)vlan_hdr; in fnic_send_frame() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | bridge.c | 761 } vlan_hdr = { htons(ETH_P_8021Q), htons(vlan->vid) }; in mlx5_esw_bridge_vlan_push_create() local 766 MLX5_CAP_GEN_2(esw->dev, max_reformat_insert_size) < sizeof(vlan_hdr) || in mlx5_esw_bridge_vlan_push_create() 776 reformat_params.size = sizeof(vlan_hdr); in mlx5_esw_bridge_vlan_push_create() 777 reformat_params.data = &vlan_hdr; in mlx5_esw_bridge_vlan_push_create() 805 MLX5_CAP_GEN_2(esw->dev, max_reformat_remove_size) < sizeof(struct vlan_hdr) || in mlx5_esw_bridge_vlan_pop_create() 815 reformat_params.size = sizeof(struct vlan_hdr); in mlx5_esw_bridge_vlan_pop_create()
|
/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | fs_dr.c | 212 u32 vlan_hdr; in create_action_push_vlan() local 214 vlan_hdr = (u32)n_ethtype << 16 | (u32)(prio) << 12 | (u32)vid; in create_action_push_vlan() 215 return mlx5dr_action_create_push_vlan(domain, htonl(vlan_hdr)); in create_action_push_vlan()
|
D | mlx5dr.h | 129 mlx5dr_action_create_push_vlan(struct mlx5dr_domain *domain, __be32 vlan_hdr);
|
D | dr_action.c | 705 attr.vlans.headers[attr.vlans.count++] = action->push_vlan->vlan_hdr; in mlx5dr_actions_build_ste_arr() 1178 __be32 vlan_hdr) in mlx5dr_action_create_push_vlan() argument 1180 u32 vlan_hdr_h = ntohl(vlan_hdr); in mlx5dr_action_create_push_vlan() 1193 action->push_vlan->vlan_hdr = vlan_hdr_h; in mlx5dr_action_create_push_vlan()
|
D | dr_ste_v0.c | 343 static void dr_ste_v0_set_tx_push_vlan(u8 *hw_ste_p, u32 vlan_hdr, in dr_ste_v0_set_tx_push_vlan() argument 348 MLX5_SET(ste_sx_transmit, hw_ste_p, encap_pointer_vlan_data, vlan_hdr); in dr_ste_v0_set_tx_push_vlan()
|
D | dr_ste_v1.c | 421 u32 vlan_hdr) in dr_ste_v1_set_push_vlan() argument 429 inline_data, vlan_hdr); in dr_ste_v1_set_push_vlan()
|
D | dr_types.h | 963 u32 vlan_hdr; /* tpid_pcp_dei_vid */ member
|
/drivers/staging/r8188eu/core/ |
D | rtw_xmit.c | 1566 unsigned short vlan_hdr = 0; in rtw_br_client_tx() local 1584 vlan_hdr = *((unsigned short *)(skb->data + MACADDRLEN * 2 + 2)); in rtw_br_client_tx() 1623 *((unsigned short *)(skb->data + MACADDRLEN * 2 + 2)) = vlan_hdr; in rtw_br_client_tx() 1635 vlan_hdr = *((unsigned short *)(skb->data + MACADDRLEN * 2 + 2)); in rtw_br_client_tx() 1670 *((unsigned short *)(skb->data + MACADDRLEN * 2 + 2)) = vlan_hdr; in rtw_br_client_tx()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun.c | 203 struct vlan_hdr *vlan = (struct vlan_hdr *) in gen_eth_tnl_hdr()
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_netdev.c | 525 struct vlan_hdr *vhdr; in fm10k_xmit_frame() 545 vhdr = (struct vlan_hdr *)(skb->data + ETH_HLEN); in fm10k_xmit_frame()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 570 struct vlan_hdr *vlanh) in get_fixed_vlan_csum() 648 hdr += sizeof(struct vlan_hdr); in check_csum()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_fcoe.c | 405 sizeof(struct vlan_hdr) + sizeof(struct fcoe_hdr)); in ixgbe_fcoe_ddp()
|
D | ixgbe_main.c | 8646 struct vlan_hdr *vhdr, _vhdr; in ixgbe_xmit_frame_ring()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 173 struct vlan_hdr vlan = {}; in i40e_create_dummy_packet() 2951 struct vlan_hdr *vhdr, _vhdr; in i40e_tx_prepare_vlan_flags()
|
/drivers/net/ |
D | thunderbolt.c | 965 struct vlan_hdr *vhdr, vh; in tbnet_xmit_csum_and_map()
|
/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.c | 1812 struct vlan_hdr *vhdr, _vhdr; in iavf_tx_prepare_vlan_flags()
|
/drivers/net/ethernet/freescale/ |
D | fec_main.c | 1560 struct vlan_hdr *vlan_header = in fec_enet_rx_queue() 1561 (struct vlan_hdr *) (data + ETH_HLEN); in fec_enet_rx_queue()
|
/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.c | 3626 struct vlan_hdr *vh; in hns3_gro_complete() 3631 vh = (struct vlan_hdr *)(skb->data + depth); in hns3_gro_complete()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 2648 struct vlan_hdr vlan;
|