diff options
author | Ido Schimmel <idosch@mellanox.com> | 2020-03-22 21:48:26 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-24 07:40:40 +0300 |
commit | 95ad9555b5a1e1b34d6b8a52fb6189274a61dad3 (patch) | |
tree | 344a36694f8a4843b2325026ef01d5aff3abe130 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c64797d45344fdf8df19697be730df586c741eaa (diff) | |
download | linux-95ad9555b5a1e1b34d6b8a52fb6189274a61dad3.tar.xz |
devlink: Add API to register packet trap groups
Currently, packet trap groups are implicitly registered by drivers upon
packet trap registration. When the traps are registered, each is
associated with a group and the group is created by devlink, if it does
not exist already.
This makes it difficult for drivers to pass additional attributes for
the groups.
Therefore, as a preparation for future patches that require passing
additional group attributes, add an API to explicitly register /
unregister these groups.
Next patches will convert existing drivers to use this API.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions