summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorNogah Frankel <nogahf@mellanox.com>2016-11-25 12:33:38 +0300
committerDavid S. Miller <davem@davemloft.net>2016-11-26 05:22:14 +0300
commitd570b7ee4e47721099fc6309fd3ff9b637261357 (patch)
tree6cc027835a266425d4721de250402892a7b85505 /tools/perf/scripts/python/syscall-counts.py
parent85d5c9cd90d2b271d8498ee6362ad57e00a2af16 (diff)
downloadlinux-d570b7ee4e47721099fc6309fd3ff9b637261357.tar.xz
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions