Home
last modified time | relevance | path

Searched refs:global_policers (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_policer.c406 u64 global_policers, cpu_policers, single_rate_policers; in mlxsw_sp_policer_resources_register() local
415 global_policers = MLXSW_CORE_RES_GET(mlxsw_core, MAX_GLOBAL_POLICERS); in mlxsw_sp_policer_resources_register()
417 single_rate_policers = global_policers - cpu_policers; in mlxsw_sp_policer_resources_register()
419 devlink_resource_size_params_init(&size_params, global_policers, in mlxsw_sp_policer_resources_register()
420 global_policers, 1, in mlxsw_sp_policer_resources_register()
423 global_policers, in mlxsw_sp_policer_resources_register()
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dtc_police_scale.sh9 target=$(devlink_resource_size_get global_policers single_rate_policers)
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Dtc_police_scale.sh9 target=$(devlink_resource_size_get global_policers single_rate_policers)
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/
Dtc_police_occ.sh61 devlink_resource_occ_get global_policers single_rate_policers