Home
last modified time | relevance | path

Searched refs:num_vlan (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/net/batman-adv/
Dtranslation-table.c565 u16 num_vlan = 0; in batadv_tt_local_table_transmit_size() local
572 num_vlan++; in batadv_tt_local_table_transmit_size()
581 hdr_size += num_vlan * sizeof(struct batadv_tvlv_tt_vlan_data); in batadv_tt_local_table_transmit_size()
856 u16 num_vlan = 0; in batadv_tt_prepare_tvlv_global_data() local
866 num_vlan++; in batadv_tt_prepare_tvlv_global_data()
871 change_offset += num_vlan * sizeof(*tt_vlan); in batadv_tt_prepare_tvlv_global_data()
888 (*tt_data)->num_vlan = htons(num_vlan); in batadv_tt_prepare_tvlv_global_data()
932 u16 num_vlan = 0; in batadv_tt_prepare_tvlv_local_data() local
945 num_vlan++; in batadv_tt_prepare_tvlv_local_data()
950 change_offset += num_vlan * sizeof(*tt_vlan); in batadv_tt_prepare_tvlv_local_data()
[all …]
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h105 u16 num_vlan; member
Di40e_virtchnl_pf.c1323 vf->num_vlan = 0; in i40e_cleanup_reset_vf()
2746 if ((vf->num_vlan >= I40E_VC_MAX_VLAN_PER_VF) && in i40e_vc_add_vlan_msg()
2777 vf->num_vlan++; in i40e_vc_add_vlan_msg()
2839 vf->num_vlan--; in i40e_vc_remove_vlan_msg()
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.h93 u16 num_vlan; member
Dice_virtchnl_pf.c963 vf->num_vlan = 0; in ice_cleanup_and_realloc_vf()
992 if (vf->num_vlan) { in ice_vf_set_vsi_promisc()
1227 if (vf->port_vlan_id || vf->num_vlan) in ice_reset_vf()
2672 vf->num_vlan >= ICE_MAX_VLAN_PER_VF) { in ice_vc_process_vlan_msg()
2720 vf->num_vlan >= ICE_MAX_VLAN_PER_VF) { in ice_vc_process_vlan_msg()
2736 vf->num_vlan++; in ice_vc_process_vlan_msg()
2772 num_vf_vlan = vf->num_vlan; in ice_vc_process_vlan_msg()
2784 vf->num_vlan--; in ice_vc_process_vlan_msg()
2786 if (!vf->num_vlan) in ice_vc_process_vlan_msg()
/Linux-v5.4/include/uapi/linux/
Dbatadv_packet.h578 __be16 num_vlan; member
/Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov.h143 int num_vlan; member
Dqlcnic_sriov_common.c1975 if (vf->num_vlan >= sriov->num_allowed_vlans) in qlcnic_sriov_validate_num_vlans()
2197 vf->num_vlan++; in qlcnic_sriov_add_vlan_id()
2211 vf->num_vlan--; in qlcnic_sriov_del_vlan_id()
2223 if (vf->num_vlan) in qlcnic_sriov_check_any_vlan()
Dqlcnic_sriov_pf.c865 if (vf->num_vlan) { in qlcnic_83xx_cfg_default_mac_vlan()
/Linux-v5.4/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1033 u8 num_vlan; member
Dbe_cmds.c1965 req->num_vlan = num; in be_cmd_vlan_config()
1967 req->num_vlan * sizeof(vtag_array[0])); in be_cmd_vlan_config()