Home
last modified time | relevance | path

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

/Linux-v6.6/net/devlink/
Dtrap.c46 struct devlink_trap_policer_item *policer_item; member
75 struct devlink_trap_policer_item *policer_item; in devlink_trap_policer_item_lookup() local
77 list_for_each_entry(policer_item, &devlink->trap_policer_list, list) { in devlink_trap_policer_item_lookup()
78 if (policer_item->policer->id == id) in devlink_trap_policer_item_lookup()
79 return policer_item; in devlink_trap_policer_item_lookup()
498 if (group_item->policer_item && in devlink_nl_trap_group_fill()
500 group_item->policer_item->policer->id)) in devlink_nl_trap_group_fill()
656 struct devlink_trap_policer_item *policer_item; in devlink_trap_group_set() local
670 policer_item = devlink_trap_policer_item_lookup(devlink, policer_id); in devlink_trap_group_set()
671 if (policer_id && !policer_item) { in devlink_trap_group_set()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.c1293 const struct mlxsw_sp_trap_policer_item *policer_item; in mlxsw_sp_trap_policer_items_arr_init() local
1298 policer_item = &mlxsw_sp_trap_policer_items_arr[0]; in mlxsw_sp_trap_policer_items_arr_init()
1299 trap->policer_items_arr[i] = *policer_item; in mlxsw_sp_trap_policer_items_arr_init()
1316 const struct mlxsw_sp_trap_policer_item *policer_item; in mlxsw_sp_trap_policers_init() local
1325 policer_item = &trap->policer_items_arr[i]; in mlxsw_sp_trap_policers_init()
1327 &policer_item->policer, 1); in mlxsw_sp_trap_policers_init()
1336 policer_item = &trap->policer_items_arr[i]; in mlxsw_sp_trap_policers_init()
1338 &policer_item->policer, 1); in mlxsw_sp_trap_policers_init()
1347 const struct mlxsw_sp_trap_policer_item *policer_item; in mlxsw_sp_trap_policers_fini() local
1352 policer_item = &trap->policer_items_arr[i]; in mlxsw_sp_trap_policers_fini()
[all …]