diff options
author | Nogah Frankel <nogahf@mellanox.com> | 2016-11-25 10:33:38 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-25 21:22:14 -0500 |
commit | d570b7ee4e47721099fc6309fd3ff9b637261357 (patch) | |
tree | 6cc027835a266425d4721de250402892a7b85505 /net/tipc/net.c | |
parent | 85d5c9cd90d2b271d8498ee6362ad57e00a2af16 (diff) |
mlxsw: Change trap set function
Change trap setting function so instead of determining the trap group by
trap id, it gets it as a parameter (so later we can have different trap
groups for Spectrum and Switchx2).
Add "is_ctrl" parameter to the trap setting function. It control whether
the trapped packets wait in a designated control buffer or in their
default one. This parameter is ignored by Switchx2 and Switchib.
Add these parameters to the traps array in Spectrum, Switchx2 and
Switchib.
Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/net.c')
0 files changed, 0 insertions, 0 deletions