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

/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_rx_filter.c341 * we start max_vlans at 0 until we hit the ENOSPC error.
347 if (lif->max_vlans && lif->nvlans >= lif->max_vlans)
379 /* store the max_vlans limit that we found */
382 lif->max_vlans = lif->nvlans;
H A Dionic_lif.h220 unsigned int max_vlans; member in struct:ionic_lif
H A Dionic_lif.c1321 (lif->max_vlans && lif->nvlans >= lif->max_vlans)) {
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpsw-cmd.h128 __le16 max_vlans; member in struct:dpsw_cmd_create
205 __le16 max_vlans; member in struct:dpsw_rsp_get_attr
H A Ddpsw.h134 * @max_vlans: Maximum Number of VLANs
154 u16 max_vlans; member in struct:dpsw_attr
H A Ddpsw.c318 attr->max_vlans = le16_to_cpu(rsp_params->max_vlans);
H A Ddpaa2-switch.c1789 if (attr->max_vlans - attr->num_vlans < 1)
1799 if (attr->max_vlans - attr->num_vlans < 1)
/linux-master/drivers/net/ethernet/emulex/benet/
H A Dbe.h410 u16 max_vlans; /* Number of vlans supported */ member in struct:be_resources
693 #define be_max_vlans(adapter) (adapter->res.max_vlans)
H A Dbe_main.c4107 if (res_mod.max_vlans == FIELD_MODIFIABLE)
4108 vft_res->max_vlans = res.max_vlans / (num_vfs + 1);
4347 res->max_vlans = BE_NUM_VLANS_SUPPORTED/8;
4352 res->max_vlans = (BE_NUM_VLANS_SUPPORTED / 4) - 1;
4354 res->max_vlans = BE_NUM_VLANS_SUPPORTED;
H A Dbe_cmds.c4327 res->max_vlans = le16_to_cpu(desc->vlan_count);
4666 if (vft_res->max_vlans)
4667 desc.nic_vft.vlan_count = cpu_to_le16(vft_res->max_vlans);
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_virtchnl.c721 u16 max_vlans = adapter->vlan_v2_caps.filtering.max_filters; local
727 if ((count + current_vlans) > max_vlans &&
728 current_vlans < max_vlans) {
729 count = max_vlans - iavf_get_num_vlans_added(adapter);

Completed in 219 milliseconds