Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/stmicro/stmmac/
Ddwmac4_core.c478 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() local
1339 num_vlan = 1; in dwmac4_get_num_vlan()
[all …]
Dcommon.h608 unsigned int num_vlan; member
Dstmmac_main.c6661 if (priv->hw->num_vlan) { in stmmac_vlan_rx_add_vid()
6687 if (priv->hw->num_vlan) { in stmmac_vlan_rx_kill_vid()
/linux-6.12.1/net/batman-adv/
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()
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() local
855 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() local
935 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 …]
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.h104 u16 num_vlan; member
Di40e_virtchnl_pf.c1534 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()
/linux-6.12.1/include/uapi/linux/
Dbatadv_packet.h605 __be16 num_vlan; member
/linux-6.12.1/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sriov.h142 int num_vlan; member
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()
Dqlcnic_sriov_pf.c866 if (vf->num_vlan) { in qlcnic_83xx_cfg_default_mac_vlan()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_switch.c5481 u32 num_vlan) in ice_dummy_packet_add_vlan() argument
5488 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 …]
Dice_vsi_vlan_lib.c49 vsi->num_vlan++; in ice_vsi_add_vlan()
77 vsi->num_vlan--; in ice_vsi_del_vlan()
Dice.h394 u16 num_vlan; member
Dice_vf_lib.c226 vsi->num_vlan = 0; in ice_vf_clear_counters()
Dice_lib.c3799 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()
Dice_virtchnl.c2438 num_vf_vlan = vsi->num_vlan; in ice_vc_process_vlan_msg()
/linux-6.12.1/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1033 u8 num_vlan; member
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()