Searched refs:num_vlan (Results 1 – 18 of 18) sorted by relevance
478 if (index >= hw->num_vlan) in dwmac4_write_vlan_filter()514 if (hw->num_vlan == 1) { in dwmac4_add_hw_vlan_rx_fltr()535 for (i = 0; i < hw->num_vlan; i++) { in dwmac4_add_hw_vlan_rx_fltr()544 hw->num_vlan); in dwmac4_add_hw_vlan_rx_fltr()563 if (hw->num_vlan == 1) { in dwmac4_del_hw_vlan_rx_fltr()572 for (i = 0; i < hw->num_vlan; i++) { in dwmac4_del_hw_vlan_rx_fltr()596 if (hw->num_vlan == 1) { in dwmac4_restore_hw_vlan_rx_fltr()602 for (i = 0; i < hw->num_vlan; i++) { in dwmac4_restore_hw_vlan_rx_fltr()1334 u32 val, num_vlan; in dwmac4_get_num_vlan() local1339 num_vlan = 1; in dwmac4_get_num_vlan()[all …]
608 unsigned int num_vlan; member
6661 if (priv->hw->num_vlan) { in stmmac_vlan_rx_add_vid()6687 if (priv->hw->num_vlan) { in stmmac_vlan_rx_kill_vid()
559 u16 num_vlan = 0; in batadv_tt_local_table_transmit_size() local566 num_vlan++; in batadv_tt_local_table_transmit_size()575 hdr_size += num_vlan * sizeof(struct batadv_tvlv_tt_vlan_data); in batadv_tt_local_table_transmit_size()845 u16 num_vlan = 0; in batadv_tt_prepare_tvlv_global_data() local855 num_vlan++; in batadv_tt_prepare_tvlv_global_data()860 change_offset += num_vlan * sizeof(*tt_vlan); in batadv_tt_prepare_tvlv_global_data()877 (*tt_data)->num_vlan = htons(num_vlan); in batadv_tt_prepare_tvlv_global_data()922 u16 num_vlan = 0; in batadv_tt_prepare_tvlv_local_data() local935 num_vlan++; in batadv_tt_prepare_tvlv_local_data()940 change_offset += num_vlan * sizeof(*tt_vlan); in batadv_tt_prepare_tvlv_local_data()[all …]
104 u16 num_vlan; member
1534 vf->num_vlan = 0; in i40e_cleanup_reset_vf()3204 if ((vf->num_vlan >= I40E_VC_MAX_VLAN_PER_VF) && in i40e_vc_add_vlan_msg()3235 vf->num_vlan++; in i40e_vc_add_vlan_msg()3297 vf->num_vlan--; in i40e_vc_remove_vlan_msg()
605 __be16 num_vlan; member
142 int num_vlan; member
1977 if (vf->num_vlan >= sriov->num_allowed_vlans) in qlcnic_sriov_validate_num_vlans()2198 vf->num_vlan++; in qlcnic_sriov_add_vlan_id()2212 vf->num_vlan--; in qlcnic_sriov_del_vlan_id()2224 if (vf->num_vlan) in qlcnic_sriov_check_any_vlan()
866 if (vf->num_vlan) { in qlcnic_83xx_cfg_default_mac_vlan()
5481 u32 num_vlan) in ice_dummy_packet_add_vlan() argument5488 if (num_vlan < 1 || num_vlan > 2) in ice_dummy_packet_add_vlan()5491 off = num_vlan * VLAN_HLEN; in ice_dummy_packet_add_vlan()5493 buf_len = array_size(num_vlan, sizeof(ice_dummy_vlan_packet_offsets)) + in ice_dummy_packet_add_vlan()5500 if (num_vlan == 2) { in ice_dummy_packet_add_vlan()5503 } else if (num_vlan == 1) { in ice_dummy_packet_add_vlan()5508 offsets[i + num_vlan].type = dummy_pkt->offsets[i].type; in ice_dummy_packet_add_vlan()5509 offsets[i + num_vlan].offset = in ice_dummy_packet_add_vlan()5512 offsets[i + num_vlan] = dummy_pkt->offsets[i]; in ice_dummy_packet_add_vlan()5516 buf_len = array_size(num_vlan, sizeof(ice_dummy_vlan_packet)) + in ice_dummy_packet_add_vlan()[all …]
49 vsi->num_vlan++; in ice_vsi_add_vlan()77 vsi->num_vlan--; in ice_vsi_del_vlan()
394 u16 num_vlan; member
226 vsi->num_vlan = 0; in ice_vf_clear_counters()
3799 return (vsi->num_vlan > ice_vsi_num_zero_vlans(vsi)); in ice_vsi_has_non_zero_vlans()3808 return (vsi->num_vlan - ice_vsi_num_zero_vlans(vsi)); in ice_vsi_num_non_zero_vlans()
2438 num_vf_vlan = vsi->num_vlan; in ice_vc_process_vlan_msg()
1033 u8 num_vlan; member
1968 req->num_vlan = num; in be_cmd_vlan_config()1970 req->num_vlan * sizeof(vtag_array[0])); in be_cmd_vlan_config()