Lines Matching defs:profile
1160 const struct mlxsw_config_profile *profile,
1166 err = mlxsw_core_kvd_sizes_get(mlxsw_pci->core, profile,
1180 const struct mlxsw_config_profile *profile,
1188 if (profile->used_max_vepa_channels) {
1192 mbox, profile->max_vepa_channels);
1194 if (profile->used_max_lag) {
1197 profile->max_lag);
1199 if (profile->used_max_mid) {
1203 mbox, profile->max_mid);
1205 if (profile->used_max_pgt) {
1209 mbox, profile->max_pgt);
1211 if (profile->used_max_system_port) {
1215 mbox, profile->max_system_port);
1217 if (profile->used_max_vlan_groups) {
1221 mbox, profile->max_vlan_groups);
1223 if (profile->used_max_regions) {
1227 mbox, profile->max_regions);
1229 if (profile->used_flood_tables) {
1233 mbox, profile->max_flood_tables);
1235 mbox, profile->max_vid_flood_tables);
1237 mbox, profile->max_fid_offset_flood_tables);
1239 mbox, profile->fid_offset_flood_table_size);
1241 mbox, profile->max_fid_flood_tables);
1243 mbox, profile->fid_flood_table_size);
1245 if (profile->used_flood_mode) {
1249 mbox, profile->flood_mode);
1251 if (profile->used_max_ib_mc) {
1255 mbox, profile->max_ib_mc);
1257 if (profile->used_max_pkey) {
1261 mbox, profile->max_pkey);
1263 if (profile->used_ar_sec) {
1267 mbox, profile->ar_sec);
1269 if (profile->used_adaptive_routing_group_cap) {
1273 mbox, profile->adaptive_routing_group_cap);
1275 if (profile->used_ubridge) {
1278 profile->ubridge);
1280 if (profile->used_kvd_sizes && MLXSW_RES_VALID(res, KVD_SIZE)) {
1281 err = mlxsw_pci_profile_get_kvd_sizes(mlxsw_pci, profile, res);
1300 &profile->swid_config[i]);
1307 if (profile->used_cqe_time_stamp_type) {
1311 profile->cqe_time_stamp_type);
1512 const struct mlxsw_config_profile *profile,
1617 err = mlxsw_pci_config_profile(mlxsw_pci, mbox, profile, res);