Home
last modified time | relevance | path

Searched refs:max_vlans (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpsw-cmd.h128 __le16 max_vlans; member
205 __le16 max_vlans; member
Ddpsw.h154 u16 max_vlans; member
Ddpsw.c318 attr->max_vlans = le16_to_cpu(rsp_params->max_vlans); in dpsw_get_attributes()
Ddpaa2-switch.c1788 if (attr->max_vlans - attr->num_vlans < 1) in dpaa2_switch_port_vlans_add()
1798 if (attr->max_vlans - attr->num_vlans < 1) in dpaa2_switch_port_vlans_add()
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/
Dionic_rx_filter.c347 if (lif->max_vlans && lif->nvlans >= lif->max_vlans) in ionic_lif_filter_add()
382 lif->max_vlans = lif->nvlans; in ionic_lif_filter_add()
Dionic_lif.h208 unsigned int max_vlans; member
Dionic_lif.c1387 (lif->max_vlans && lif->nvlans >= lif->max_vlans)) { in ionic_lif_rx_mode()
/linux-6.6.21/drivers/net/ethernet/emulex/benet/
Dbe.h410 u16 max_vlans; /* Number of vlans supported */ member
693 #define be_max_vlans(adapter) (adapter->res.max_vlans)
Dbe_main.c4107 if (res_mod.max_vlans == FIELD_MODIFIABLE) in be_calculate_vf_res()
4108 vft_res->max_vlans = res.max_vlans / (num_vfs + 1); in be_calculate_vf_res()
4347 res->max_vlans = BE_NUM_VLANS_SUPPORTED/8; in BEx_get_resources()
4352 res->max_vlans = (BE_NUM_VLANS_SUPPORTED / 4) - 1; in BEx_get_resources()
4354 res->max_vlans = BE_NUM_VLANS_SUPPORTED; in BEx_get_resources()
Dbe_cmds.c4327 res->max_vlans = le16_to_cpu(desc->vlan_count); in be_copy_nic_desc()
4666 if (vft_res->max_vlans) in be_cmd_set_sriov_config()
4667 desc.nic_vft.vlan_count = cpu_to_le16(vft_res->max_vlans); in be_cmd_set_sriov_config()
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c718 u16 max_vlans = adapter->vlan_v2_caps.filtering.max_filters; in iavf_add_vlans() local
724 if ((count + current_vlans) > max_vlans && in iavf_add_vlans()
725 current_vlans < max_vlans) { in iavf_add_vlans()
726 count = max_vlans - iavf_get_num_vlans_added(adapter); in iavf_add_vlans()