Home
last modified time | relevance | path

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

/net/core/
Ddevlink.c6638 const struct devlink_trap_policer *policer; member
6688 if (policer_item->policer->id == id) in devlink_trap_policer_item_lookup()
7074 group_item->policer_item->policer->id)) in devlink_nl_trap_group_fill()
7240 const struct devlink_trap_policer *policer; in devlink_trap_group_set() local
7262 policer = policer_item ? policer_item->policer : NULL; in devlink_trap_group_set()
7264 err = devlink->ops->trap_group_set(devlink, group_item->group, policer, in devlink_trap_group_set()
7324 const struct devlink_trap_policer *policer) in devlink_trap_policer_stats_put() argument
7333 err = devlink->ops->trap_policer_counter_get(devlink, policer, &drops); in devlink_trap_policer_stats_put()
7371 policer_item->policer->id)) in devlink_nl_trap_policer_fill()
7383 policer_item->policer); in devlink_nl_trap_policer_fill()
[all …]
/net/dsa/
Dslave.c994 struct dsa_mall_policer_tc_entry *policer; in dsa_slave_add_cls_matchall_police() local
1032 policer = &mall_tc_entry->policer; in dsa_slave_add_cls_matchall_police()
1033 policer->rate_bytes_per_sec = act->police.rate_bytes_ps; in dsa_slave_add_cls_matchall_police()
1034 policer->burst = act->police.burst; in dsa_slave_add_cls_matchall_police()
1036 err = ds->ops->port_policer_add(ds, dp->index, policer); in dsa_slave_add_cls_matchall_police()