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 /tools/perf/scripts/python | |
| parent | mlxsw: switchib: Use generic listener struct for events (diff) | |
| download | linux-d570b7ee4e47721099fc6309fd3ff9b637261357.tar.gz linux-d570b7ee4e47721099fc6309fd3ff9b637261357.zip | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
