diff options
author | 2020-07-11 00:55:09 +0300 | |
---|---|---|
committer | 2020-07-13 17:22:22 -0700 | |
commit | 2bafb216e10edf2684d3dc124be333a07523580d (patch) | |
tree | 5f009dc0ac60eb40b8183a10e6234b0873e54459 /tools/perf/scripts/python/netdev-times.py | |
parent | mlxsw: spectrum_span: Add support for global mirroring triggers (diff) | |
download | linux-dev-2bafb216e10edf2684d3dc124be333a07523580d.tar.xz linux-dev-2bafb216e10edf2684d3dc124be333a07523580d.zip |
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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions