summaryrefslogtreecommitdiffstats
path: root/net/mac80211/key.h
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2020-03-30 22:38:22 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-30 17:54:58 -0700
commitc064875a63528e8ebcefc0ae450ed0fd904d08c4 (patch)
treef9f197e37ce69b891895002bb5e209d1135f4c04 /net/mac80211/key.h
parentf9f54392d2c88b34a2aaa6e51b202b3fd9c984b4 (diff)
downloadlinux-c064875a63528e8ebcefc0ae450ed0fd904d08c4.tar.bz2
devlink: Allow setting of packet trap group parameters
The previous patch allowed device drivers to publish their default binding between packet trap policers and packet trap groups. However, some users might not be content with this binding and would like to change it. In case user space passed a packet trap policer identifier when setting a packet trap group, invoke the appropriate device driver callback and pass the new policer identifier. v2: * Check for presence of 'DEVLINK_ATTR_TRAP_POLICER_ID' in devlink_trap_group_set() and bail if not present * Add extack error message in case trap group was partially modified Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/key.h')
0 files changed, 0 insertions, 0 deletions