Home
last modified time | relevance | path

Searched refs:vlan_proto (Results 1 – 25 of 49) sorted by relevance

12

/drivers/net/netdevsim/
Dnetdev.c96 u16 vlan, u8 qos, __be16 vlan_proto) in nsim_set_vf_vlan() argument
106 nsim_bus_dev->vfconfigs[vf].vlan_proto = vlan_proto; in nsim_set_vf_vlan()
175 ivi->vlan_proto = nsim_bus_dev->vfconfigs[vf].vlan_proto; in nsim_get_vf_config()
Dnetdevsim.h270 __be16 vlan_proto; member
/drivers/net/ethernet/sfc/
Dsriov.c22 u8 qos, __be16 vlan_proto) in efx_sriov_set_vf_vlan() argument
31 if (vlan_proto != htons(ETH_P_8021Q)) in efx_sriov_set_vf_vlan()
Dsriov.h16 u8 qos, __be16 vlan_proto);
/drivers/net/ethernet/netronome/nfp/
Dnfp_net_sriov.h52 __be16 vlan_proto);
Dnfp_net_sriov.c95 __be16 vlan_proto) in nfp_app_set_vf_vlan() argument
106 if (vlan_proto != htons(ETH_P_8021Q)) in nfp_app_set_vf_vlan()
/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c1856 vp_oper->state.vlan_proto == vp_admin->vlan_proto && in mlx4_master_immediate_activate_vlan_qos()
1915 vp_oper->state.vlan_proto = vp_admin->vlan_proto; in mlx4_master_immediate_activate_vlan_qos()
1929 work->vlan_proto = vp_oper->state.vlan_proto; in mlx4_master_immediate_activate_vlan_qos()
2016 if (vp_admin->vlan_proto != htons(ETH_P_8021AD) || in mlx4_master_activate_admin_state()
2018 vp_oper->state.vlan_proto = vp_admin->vlan_proto; in mlx4_master_activate_admin_state()
2035 vp_oper->state.vlan_proto = htons(ETH_P_8021Q); in mlx4_master_activate_admin_state()
2426 admin_vport->vlan_proto = htons(ETH_P_8021Q); in mlx4_multi_func_init()
2427 oper_vport->vlan_proto = htons(ETH_P_8021Q); in mlx4_multi_func_init()
3059 vf_admin->vlan_proto = proto; in mlx4_set_vf_vlan()
3072 vf_oper->state.vlan_proto != proto) || in mlx4_set_vf_vlan()
[all …]
Den_tx.c912 u16 vlan_proto; in mlx4_en_xmit() local
915 vlan_proto = be16_to_cpu(skb->vlan_proto); in mlx4_en_xmit()
916 if (vlan_proto == ETH_P_8021AD) in mlx4_en_xmit()
918 else if (vlan_proto == ETH_P_8021Q) in mlx4_en_xmit()
Dfw.c283 vp_oper->state.vlan_proto = vp_admin->vlan_proto; in mlx4_activate_vst_qinq()
301 if ((vp_admin->vlan_proto != htons(ETH_P_8021AD)) || in mlx4_handle_vst_qinq()
305 if (vp_oper->state.vlan_proto == vp_admin->vlan_proto && in mlx4_handle_vst_qinq()
312 vp_admin->vlan_proto = vp_oper->state.vlan_proto; in mlx4_handle_vst_qinq()
446 if (vp_oper->state.vlan_proto == htons(ETH_P_8021AD)) in mlx4_QUERY_FUNC_CAP_wrapper()
Dmlx4.h511 __be16 vlan_proto; member
662 __be16 vlan_proto; member
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.h24 u8 qos, __be16 vlan_proto);
Dixgbe_sriov.c1476 u8 qos, __be16 vlan_proto) in ixgbe_ndo_set_vf_vlan() argument
1483 if (vlan_proto != htons(ETH_P_8021Q)) in ixgbe_ndo_set_vf_vlan()
/drivers/net/ethernet/huawei/hinic/
Dhinic_sriov.h82 __be16 vlan_proto);
Dhinic_sriov.c769 __be16 vlan_proto) in hinic_ndo_set_vf_vlan() argument
778 if (vlan_proto != htons(ETH_P_8021Q)) in hinic_ndo_set_vf_vlan()
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h128 u16 vlan_id, u8 qos, __be16 vlan_proto);
/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.h124 __be16 vlan_proto);
/drivers/net/ethernet/intel/fm10k/
Dfm10k_iov.c591 u8 qos, __be16 vlan_proto) in fm10k_ndo_set_vf_vlan() argument
607 if (vlan_proto != htons(ETH_P_8021Q)) in fm10k_ndo_set_vf_vlan()
Dfm10k.h534 int vf_idx, u16 vid, u8 qos, __be16 vlan_proto);
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.h882 u16 vlan_proto; /* so far support 802.1Q only */ member
1009 u16 vlan_proto);
Dhclge_mbx.c348 u16 vlan_proto) in hclge_push_vf_port_base_vlan_info() argument
355 memcpy(&msg_data[2], &vlan_proto, sizeof(u16)); in hclge_push_vf_port_base_vlan_info()
/drivers/net/bonding/
Dbond_alb.c906 __be16 vlan_proto, u16 vid) in alb_send_lp_vid() argument
933 __vlan_hwaccel_put_tag(skb, vlan_proto, vid); in alb_send_lp_vid()
977 tags[0].vlan_proto, tags[0].vlan_id); in alb_upper_dev_walk()
Dbond_main.c2729 if (!tags || tags->vlan_proto == VLAN_N_VID) in bond_arp_send()
2735 while (tags->vlan_proto != VLAN_N_VID) { in bond_arp_send()
2742 ntohs(outer_tag->vlan_proto), tags->vlan_id); in bond_arp_send()
2743 skb = vlan_insert_tag_set_proto(skb, tags->vlan_proto, in bond_arp_send()
2755 ntohs(outer_tag->vlan_proto), outer_tag->vlan_id); in bond_arp_send()
2756 __vlan_hwaccel_put_tag(skb, outer_tag->vlan_proto, in bond_arp_send()
2782 tags[level].vlan_proto = VLAN_N_VID; in bond_verify_device_path()
2794 tags[level].vlan_proto = vlan_dev_vlan_proto(upper); in bond_verify_device_path()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c142 vhdr->h_vlan_proto = skb->vlan_proto; in mlx5e_insert_vlan()
445 if (skb->vlan_proto == cpu_to_be16(ETH_P_8021AD)) in mlx5e_sq_xmit_wqe()
Deswitch.h404 __be16 vlan_proto[MLX5_FS_VLAN_DEPTH]; member
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c235 __be16 vlan_proto) in bnxt_set_vf_vlan() argument
246 if (vlan_proto != htons(ETH_P_8021Q)) in bnxt_set_vf_vlan()

12