Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac4_core.c518 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() local
1314 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 …]
H A Dcommon.h605 unsigned int num_vlan; member
H A Dstmmac_main.c6531 if (priv->hw->num_vlan) { in stmmac_vlan_rx_add_vid()
6557 if (priv->hw->num_vlan) { in stmmac_vlan_rx_kill_vid()
/openbmc/linux/net/batman-adv/
H A Dtranslation-table.c559 u16 num_vlan = 0; in batadv_tt_local_table_transmit_size() local
566 num_vlan++; in batadv_tt_local_table_transmit_size()
845 u16 num_vlan = 0; in batadv_tt_prepare_tvlv_global_data() local
855 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() local
935 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() argument
2942 tvlv_tt_data->num_vlan = htons(num_vlan); in batadv_send_tt_request()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.h104 u16 num_vlan; member
H A Di40e_virtchnl_pf.c1540 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()
/openbmc/linux/include/uapi/linux/
H A Dbatadv_packet.h580 __be16 num_vlan; member
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov.h142 int num_vlan; member
H A Dqlcnic_sriov_common.c1977 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()
H A Dqlcnic_sriov_pf.c866 if (vf->num_vlan) { in qlcnic_83xx_cfg_default_mac_vlan()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_vsi_vlan_lib.c49 vsi->num_vlan++; in ice_vsi_add_vlan()
77 vsi->num_vlan--; in ice_vsi_del_vlan()
H A Dice_switch.c5501 u32 num_vlan) in ice_dummy_packet_add_vlan() argument
5508 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 …]
H A Dice.h392 u16 num_vlan; member
H A Dice_vf_lib.c224 vsi->num_vlan = 0; in ice_vf_clear_counters()
H A Dice_lib.c3950 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()
H A Dice_virtchnl.c2358 num_vf_vlan = vsi->num_vlan; in ice_vc_process_vlan_msg()
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.h1033 u8 num_vlan; member
H A Dbe_cmds.c1968 req->num_vlan = num; in be_cmd_vlan_config()
1970 req->num_vlan * sizeof(vtag_array[0])); in be_cmd_vlan_config()