Home
last modified time | relevance | path

Searched refs:size_params (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum1_kvdl.c388 static struct devlink_resource_size_params size_params; in mlxsw_sp1_kvdl_resources_register() local
396 devlink_resource_size_params_init(&size_params, 0, kvdl_max_size, in mlxsw_sp1_kvdl_resources_register()
403 &size_params); in mlxsw_sp1_kvdl_resources_register()
407 devlink_resource_size_params_init(&size_params, 0, kvdl_max_size, in mlxsw_sp1_kvdl_resources_register()
414 &size_params); in mlxsw_sp1_kvdl_resources_register()
418 devlink_resource_size_params_init(&size_params, 0, kvdl_max_size, in mlxsw_sp1_kvdl_resources_register()
425 &size_params); in mlxsw_sp1_kvdl_resources_register()
Dspectrum_cnt.c244 static struct devlink_resource_size_params size_params; in mlxsw_sp_counter_resources_register() local
262 devlink_resource_size_params_init(&size_params, pool_size, in mlxsw_sp_counter_resources_register()
270 &size_params); in mlxsw_sp_counter_resources_register()
287 devlink_resource_size_params_init(&size_params, sub_pool_size, in mlxsw_sp_counter_resources_register()
295 &size_params); in mlxsw_sp_counter_resources_register()
Dspectrum_policer.c408 struct devlink_resource_size_params size_params; in mlxsw_sp_policer_resources_register() local
419 devlink_resource_size_params_init(&size_params, global_policers, in mlxsw_sp_policer_resources_register()
426 &size_params); in mlxsw_sp_policer_resources_register()
430 devlink_resource_size_params_init(&size_params, single_rate_policers, in mlxsw_sp_policer_resources_register()
437 &size_params); in mlxsw_sp_policer_resources_register()
Dspectrum.c3703 struct devlink_resource_size_params size_params; in mlxsw_sp_resources_rif_mac_profile_register() local
3711 devlink_resource_size_params_init(&size_params, max_rif_mac_profiles, in mlxsw_sp_resources_rif_mac_profile_register()
3720 &size_params); in mlxsw_sp_resources_rif_mac_profile_register()
3726 struct devlink_resource_size_params size_params; in mlxsw_sp_resources_rifs_register() local
3733 devlink_resource_size_params_init(&size_params, max_rifs, max_rifs, in mlxsw_sp_resources_rifs_register()
3739 &size_params); in mlxsw_sp_resources_rifs_register()
3746 struct devlink_resource_size_params size_params; in mlxsw_sp_resources_port_range_register() local
3753 devlink_resource_size_params_init(&size_params, max, max, 1, in mlxsw_sp_resources_port_range_register()
3759 &size_params); in mlxsw_sp_resources_port_range_register()
/drivers/net/dsa/mv88e6xxx/
Ddevlink.c178 struct devlink_resource_size_params size_params; in mv88e6xxx_setup_devlink_resources() local
182 devlink_resource_size_params_init(&size_params, in mv88e6xxx_setup_devlink_resources()
191 &size_params); in mv88e6xxx_setup_devlink_resources()
195 devlink_resource_size_params_init(&size_params, in mv88e6xxx_setup_devlink_resources()
204 &size_params); in mv88e6xxx_setup_devlink_resources()
212 &size_params); in mv88e6xxx_setup_devlink_resources()
220 &size_params); in mv88e6xxx_setup_devlink_resources()
228 &size_params); in mv88e6xxx_setup_devlink_resources()
/drivers/net/ethernet/mellanox/mlx5/core/sf/
Dhw_table.c255 struct devlink_resource_size_params size_params; in mlx5_sf_hw_table_res_register() local
259 devlink_resource_size_params_init(&size_params, max_fn, max_fn, 1, in mlx5_sf_hw_table_res_register()
262 DEVLINK_RESOURCE_ID_PARENT_TOP, &size_params); in mlx5_sf_hw_table_res_register()
266 devlink_resource_size_params_init(&size_params, max_ext_fn, max_ext_fn, 1, in mlx5_sf_hw_table_res_register()
270 &size_params); in mlx5_sf_hw_table_res_register()
/drivers/net/dsa/
Ddsa_loop.c52 struct devlink_resource_size_params size_params; in dsa_loop_setup_devlink_resources() local
56 devlink_resource_size_params_init(&size_params, ARRAY_SIZE(ps->vlans), in dsa_loop_setup_devlink_resources()
63 &size_params); in dsa_loop_setup_devlink_resources()
/drivers/net/dsa/b53/
Db53_common.c1073 struct devlink_resource_size_params size_params; in b53_setup_devlink_resources() local
1077 devlink_resource_size_params_init(&size_params, dev->num_vlans, in b53_setup_devlink_resources()
1084 &size_params); in b53_setup_devlink_resources()