Searched refs:policer_core (Results 1 – 2 of 2) sorted by relevance
51 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() local189 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() local360 policer_core = kzalloc(sizeof(*policer_core), GFP_KERNEL); in mlxsw_sp_policers_init()[all …]
178 struct mlxsw_sp_policer_core *policer_core; member