diff options
author | Ido Schimmel <idosch@mellanox.com> | 2020-07-11 00:55:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-14 03:22:22 +0300 |
commit | 2bafb216e10edf2684d3dc124be333a07523580d (patch) | |
tree | 5f009dc0ac60eb40b8183a10e6234b0873e54459 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ab8c06b7b42cf9e756a720931a0939cd0d56786a (diff) | |
download | linux-2bafb216e10edf2684d3dc124be333a07523580d.tar.xz |
mlxsw: spectrum_span: Add APIs to enable / disable global mirroring triggers
While the binding of global mirroring triggers to a SPAN agent is
global, packets are only mirrored if they belong to a port and TC on
which the trigger was enabled. This allows, for example, to mirror
packets that were tail-dropped on a specific netdev.
Implement the operations that allow to enable / disable a global
mirroring trigger on a specific port and TC.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions