Home
last modified time | relevance | path

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

/drivers/scsi/fnic/
Dfnic_fcs.c1027 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/
Dbridge.c761 } 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/
Dfs_dr.c212 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()
Dmlx5dr.h129 mlx5dr_action_create_push_vlan(struct mlx5dr_domain *domain, __be32 vlan_hdr);
Ddr_action.c705 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()
Ddr_ste_v0.c343 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()
Ddr_ste_v1.c421 u32 vlan_hdr) in dr_ste_v1_set_push_vlan() argument
429 inline_data, vlan_hdr); in dr_ste_v1_set_push_vlan()
Ddr_types.h963 u32 vlan_hdr; /* tpid_pcp_dei_vid */ member
/drivers/staging/r8188eu/core/
Drtw_xmit.c1566 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/
Dtc_tun.c203 struct vlan_hdr *vlan = (struct vlan_hdr *) in gen_eth_tnl_hdr()
/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c525 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/
Den_rx.c570 struct vlan_hdr *vlanh) in get_fixed_vlan_csum()
648 hdr += sizeof(struct vlan_hdr); in check_csum()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_fcoe.c405 sizeof(struct vlan_hdr) + sizeof(struct fcoe_hdr)); in ixgbe_fcoe_ddp()
Dixgbe_main.c8646 struct vlan_hdr *vhdr, _vhdr; in ixgbe_xmit_frame_ring()
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c173 struct vlan_hdr vlan = {}; in i40e_create_dummy_packet()
2951 struct vlan_hdr *vhdr, _vhdr; in i40e_tx_prepare_vlan_flags()
/drivers/net/
Dthunderbolt.c965 struct vlan_hdr *vhdr, vh; in tbnet_xmit_csum_and_map()
/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c1812 struct vlan_hdr *vhdr, _vhdr; in iavf_tx_prepare_vlan_flags()
/drivers/net/ethernet/freescale/
Dfec_main.c1560 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/
Dhns3_enet.c3626 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/
Den_tc.c2648 struct vlan_hdr vlan;