diff options
author | Ido Schimmel <[email protected]> | 2020-03-30 22:38:21 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-03-30 17:54:58 -0700 |
commit | f9f54392d2c88b34a2aaa6e51b202b3fd9c984b4 (patch) | |
tree | 03d51c26f0a1dd1b9265f1677fba4d9493376fe1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ad188458d0123d4e116f14f7eab73d644aed149f (diff) |
devlink: Add packet trap group parameters support
Packet trap groups are used to aggregate logically related packet traps.
Currently, these groups allow user space to batch operations such as
setting the trap action of all member traps.
In order to prevent the CPU from being overwhelmed by too many trapped
packets, it is desirable to bind a packet trap policer to these groups.
For example, to limit all the packets that encountered an exception
during routing to 10Kpps.
Allow device drivers to bind default packet trap policers to packet trap
groups when the latter are registered with devlink.
The next patch will enable user space to change this default binding.
Signed-off-by: Ido Schimmel <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions