Searched refs:policer_items_arr (Results 1 – 2 of 2) sorted by relevance
1197 if (trap->policer_items_arr[i].policer.id == id) in mlxsw_sp_trap_policer_item_lookup()1198 return &trap->policer_items_arr[i]; in mlxsw_sp_trap_policer_item_lookup()1279 if (!trap->policer_items_arr) in mlxsw_sp_trap_policer_items_arr_init()1299 trap->policer_items_arr[i] = *policer_item; in mlxsw_sp_trap_policer_items_arr_init()1300 trap->policer_items_arr[i].policer.id = ++last_id; in mlxsw_sp_trap_policer_items_arr_init()1301 trap->policer_items_arr[i].policer.init_rate = 1; in mlxsw_sp_trap_policer_items_arr_init()1302 trap->policer_items_arr[i].policer.init_burst = 16; in mlxsw_sp_trap_policer_items_arr_init()1310 kfree(mlxsw_sp->trap->policer_items_arr); in mlxsw_sp_trap_policer_items_arr_fini()1325 policer_item = &trap->policer_items_arr[i]; in mlxsw_sp_trap_policers_init()1336 policer_item = &trap->policer_items_arr[i]; in mlxsw_sp_trap_policers_init()[all …]
11 struct mlxsw_sp_trap_policer_item *policer_items_arr; member