Searched refs:max_vlans (Results 1 – 7 of 7) sorted by relevance
103 __le16 max_vlans; member174 __le16 max_vlans; member
160 u16 max_vlans; member
345 attr->max_vlans = le16_to_cpu(rsp_params->max_vlans); in dpsw_get_attributes()
998 if (attr->max_vlans - attr->num_vlans < new_vlans) in dpaa2_switch_port_vlans_add()
411 u16 max_vlans; /* Number of vlans supported */ member694 #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()
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()