Home
last modified time | relevance | path

Searched refs:policer_core (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_policer.c51 int (*init)(struct mlxsw_sp_policer_core *policer_core);
173 struct mlxsw_sp_policer_core *policer_core = family->mlxsw_sp->policer_core; in mlxsw_sp_policer_single_rate_params_check() local
189 if (bs < policer_core->lowest_bs_bits) { in mlxsw_sp_policer_single_rate_params_check()
194 if (bs > policer_core->highest_bs_bits) { in mlxsw_sp_policer_single_rate_params_check()
240 family = mlxsw_sp->policer_core->family_arr[type]; in mlxsw_sp_policer_add()
280 family = mlxsw_sp->policer_core->family_arr[type]; in mlxsw_sp_policer_del()
293 family = mlxsw_sp->policer_core->family_arr[type]; in mlxsw_sp_policer_drops_counter_get()
331 mlxsw_sp->policer_core->family_arr[tmpl->type] = family; in mlxsw_sp_policer_family_register()
357 struct mlxsw_sp_policer_core *policer_core; in mlxsw_sp_policers_init() local
360 policer_core = kzalloc(sizeof(*policer_core), GFP_KERNEL); in mlxsw_sp_policers_init()
[all …]
Dspectrum.h158 struct mlxsw_sp_policer_core *policer_core; member