Searched refs:num_vlan (Results 1 – 18 of 18) sorted by relevance
518 if (hw->num_vlan == 1) { in dwmac4_add_hw_vlan_rx_fltr()548 hw->num_vlan); in dwmac4_add_hw_vlan_rx_fltr()1309 u32 val, num_vlan; in dwmac4_get_num_vlan() local1314 num_vlan = 1; in dwmac4_get_num_vlan()1317 num_vlan = 4; in dwmac4_get_num_vlan()1320 num_vlan = 8; in dwmac4_get_num_vlan()1323 num_vlan = 16; in dwmac4_get_num_vlan()1326 num_vlan = 24; in dwmac4_get_num_vlan()1329 num_vlan = 32; in dwmac4_get_num_vlan()1332 num_vlan = 1; in dwmac4_get_num_vlan()[all …]
605 unsigned int num_vlan; member
6531 if (priv->hw->num_vlan) { in stmmac_vlan_rx_add_vid()6557 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()845 u16 num_vlan = 0; in batadv_tt_prepare_tvlv_global_data() local855 num_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()957 (*tt_data)->num_vlan = htons(num_vlan); in batadv_tt_prepare_tvlv_local_data()2810 u16 num_vlan) in batadv_tt_global_check_crc() argument2942 tvlv_tt_data->num_vlan = htons(num_vlan); in batadv_send_tt_request()[all …]
104 u16 num_vlan; member
1540 vf->num_vlan = 0; in i40e_cleanup_reset_vf()3210 if ((vf->num_vlan >= I40E_VC_MAX_VLAN_PER_VF) && in i40e_vc_add_vlan_msg()3241 vf->num_vlan++; in i40e_vc_add_vlan_msg()3303 vf->num_vlan--; in i40e_vc_remove_vlan_msg()
580 __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()
49 vsi->num_vlan++; in ice_vsi_add_vlan()77 vsi->num_vlan--; in ice_vsi_del_vlan()
5501 u32 num_vlan) in ice_dummy_packet_add_vlan() argument5508 if (num_vlan < 1 || num_vlan > 2) in ice_dummy_packet_add_vlan()5511 off = num_vlan * VLAN_HLEN; in ice_dummy_packet_add_vlan()5513 buf_len = array_size(num_vlan, sizeof(ice_dummy_vlan_packet_offsets)) + in ice_dummy_packet_add_vlan()5520 if (num_vlan == 2) { in ice_dummy_packet_add_vlan()5523 } else if (num_vlan == 1) { in ice_dummy_packet_add_vlan()5528 offsets[i + num_vlan].type = dummy_pkt->offsets[i].type; in ice_dummy_packet_add_vlan()5529 offsets[i + num_vlan].offset = in ice_dummy_packet_add_vlan()5532 offsets[i + num_vlan] = dummy_pkt->offsets[i]; in ice_dummy_packet_add_vlan()5536 buf_len = array_size(num_vlan, sizeof(ice_dummy_vlan_packet)) + in ice_dummy_packet_add_vlan()[all …]
392 u16 num_vlan; member
224 vsi->num_vlan = 0; in ice_vf_clear_counters()
3950 return (vsi->num_vlan > ice_vsi_num_zero_vlans(vsi)); in ice_vsi_has_non_zero_vlans()3959 return (vsi->num_vlan - ice_vsi_num_zero_vlans(vsi)); in ice_vsi_num_non_zero_vlans()
2358 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()