Searched refs:max_vlans (Results 1 – 11 of 11) sorted by relevance
128 __le16 max_vlans; member205 __le16 max_vlans; member
154 u16 max_vlans; member
318 attr->max_vlans = le16_to_cpu(rsp_params->max_vlans); in dpsw_get_attributes()
1788 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()
347 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()
208 unsigned int max_vlans; member
1387 (lif->max_vlans && lif->nvlans >= lif->max_vlans)) { in ionic_lif_rx_mode()
410 u16 max_vlans; /* Number of vlans supported */ member693 #define be_max_vlans(adapter) (adapter->res.max_vlans)
4107 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()
4327 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()
718 u16 max_vlans = adapter->vlan_v2_caps.filtering.max_filters; in iavf_add_vlans() local724 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()