diff options
author | Ido Schimmel <[email protected]> | 2020-03-22 20:48:26 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-03-23 21:40:40 -0700 |
commit | 95ad9555b5a1e1b34d6b8a52fb6189274a61dad3 (patch) | |
tree | 344a36694f8a4843b2325026ef01d5aff3abe130 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | c64797d45344fdf8df19697be730df586c741eaa (diff) |
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 <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions