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()
1768 if (attr->max_vlans - attr->num_vlans < 1) in dpaa2_switch_port_vlans_add()1778 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()
197 unsigned int max_vlans; member
1293 (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)
4105 if (res_mod.max_vlans == FIELD_MODIFIABLE) in be_calculate_vf_res()4106 vft_res->max_vlans = res.max_vlans / (num_vfs + 1); in be_calculate_vf_res()4345 res->max_vlans = BE_NUM_VLANS_SUPPORTED/8; in BEx_get_resources()4350 res->max_vlans = (BE_NUM_VLANS_SUPPORTED / 4) - 1; in BEx_get_resources()4352 res->max_vlans = BE_NUM_VLANS_SUPPORTED; in BEx_get_resources()
4326 res->max_vlans = le16_to_cpu(desc->vlan_count); in be_copy_nic_desc()4665 if (vft_res->max_vlans) in be_cmd_set_sriov_config()4666 desc.nic_vft.vlan_count = cpu_to_le16(vft_res->max_vlans); in be_cmd_set_sriov_config()
730 u16 max_vlans = adapter->vlan_v2_caps.filtering.max_filters; in iavf_add_vlans() local736 if ((count + current_vlans) > max_vlans && in iavf_add_vlans()737 current_vlans < max_vlans) { in iavf_add_vlans()738 count = max_vlans - iavf_get_num_vlans_added(adapter); in iavf_add_vlans()