Home
last modified time | relevance | path

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

/drivers/net/ethernet/stmicro/stmmac/
Ddwmac4_core.c454 if (index >= hw->num_vlan) in dwmac4_write_vlan_filter()
491 if (hw->num_vlan == 1) { in dwmac4_add_hw_vlan_rx_fltr()
512 for (i = 0; i < hw->num_vlan; i++) { in dwmac4_add_hw_vlan_rx_fltr()
521 hw->num_vlan); in dwmac4_add_hw_vlan_rx_fltr()
540 if (hw->num_vlan == 1) { in dwmac4_del_hw_vlan_rx_fltr()
549 for (i = 0; i < hw->num_vlan; i++) { in dwmac4_del_hw_vlan_rx_fltr()
573 if (hw->num_vlan == 1) { in dwmac4_restore_hw_vlan_rx_fltr()
579 for (i = 0; i < hw->num_vlan; i++) { in dwmac4_restore_hw_vlan_rx_fltr()
1274 u32 val, num_vlan; in dwmac4_get_num_vlan() local
1279 num_vlan = 1; in dwmac4_get_num_vlan()
[all …]
Dcommon.h532 unsigned int num_vlan; member
Dstmmac_main.c6300 if (priv->hw->num_vlan) { in stmmac_vlan_rx_add_vid()
6328 if (priv->hw->num_vlan) { in stmmac_vlan_rx_kill_vid()
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h102 u16 num_vlan; member
Di40e_virtchnl_pf.c1536 vf->num_vlan = 0; in i40e_cleanup_reset_vf()
3087 if ((vf->num_vlan >= I40E_VC_MAX_VLAN_PER_VF) && in i40e_vc_add_vlan_msg()
3118 vf->num_vlan++; in i40e_vc_add_vlan_msg()
3180 vf->num_vlan--; in i40e_vc_remove_vlan_msg()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov.h142 int num_vlan; member
Dqlcnic_sriov_common.c1978 if (vf->num_vlan >= sriov->num_allowed_vlans) in qlcnic_sriov_validate_num_vlans()
2199 vf->num_vlan++; in qlcnic_sriov_add_vlan_id()
2213 vf->num_vlan--; in qlcnic_sriov_del_vlan_id()
2225 if (vf->num_vlan) in qlcnic_sriov_check_any_vlan()
Dqlcnic_sriov_pf.c866 if (vf->num_vlan) { in qlcnic_83xx_cfg_default_mac_vlan()
/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.c1323 if (vsi->num_vlan) { in ice_vf_set_vsi_promisc()
1350 vsi->num_vlan = 0; in ice_vf_clear_counters()
1698 if (vf->port_vlan_info || vsi->num_vlan) in ice_reset_vf()
2996 if (vsi->num_vlan || vf->port_vlan_info) { in ice_vc_cfg_promiscuous_mode_msg()
3047 if (vf->port_vlan_info || vsi->num_vlan > 1) { in ice_vc_cfg_promiscuous_mode_msg()
4165 vsi->num_vlan >= ICE_MAX_VLAN_PER_VF) { in ice_vc_process_vlan_msg()
4189 vsi->num_vlan >= ICE_MAX_VLAN_PER_VF) { in ice_vc_process_vlan_msg()
4246 num_vf_vlan = vsi->num_vlan; in ice_vc_process_vlan_msg()
4267 if (vsi->num_vlan == 1 && in ice_vc_process_vlan_msg()
Dice.h322 u16 num_vlan; member
Dice_main.c238 if (vsi->num_vlan > 1) { in ice_cfg_promisc()
340 if (vsi->num_vlan > 1) in ice_vsi_sync_fltr()
354 if (vsi->num_vlan > 1) in ice_vsi_sync_fltr()
396 if (vsi->num_vlan > 1) in ice_vsi_sync_fltr()
3327 if (vsi->num_vlan == 1 && ice_vsi_is_vlan_pruning_ena(vsi)) in ice_vlan_rx_kill_vid()
Dice_lib.c1618 vsi->num_vlan++; in ice_vsi_add_vlan()
1646 vsi->num_vlan--; in ice_vsi_kill_vlan()
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1033 u8 num_vlan; member
Dbe_cmds.c1967 req->num_vlan = num; in be_cmd_vlan_config()
1969 req->num_vlan * sizeof(vtag_array[0])); in be_cmd_vlan_config()