aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2020-07-14 17:20:59 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-14 14:50:49 -0700
commitfa8c08b8fcbd4a4bd201297d27a9ccbd2eb4b1f1 (patch)
tree6263af4b92b2babd80b517f66c1398c47696183b /tools/perf/scripts/python/export-to-postgresql.py
parentmlxsw: spectrum_span: Do not dereference destination netdev (diff)
downloadlinux-dev-fa8c08b8fcbd4a4bd201297d27a9ccbd2eb4b1f1.tar.xz
linux-dev-fa8c08b8fcbd4a4bd201297d27a9ccbd2eb4b1f1.zip
mlxsw: spectrum_span: Add support for mirroring towards CPU port
The Spectrum-2 and Spectrum-3 ASICs are able to mirror packets towards the CPU. These packets are then trapped like any other packet, but with a special packet trap and additional metadata such as why the packet was mirrored. The ability to mirror packets towards the CPU will be utilized by a subsequent patch set that will mirror packets that were dropped by the ASIC for various buffer-related reasons, such as tail-drop and early-drop. Add mirroring towards the CPU as a new SPAN agent type and re-use the functions that mirror to a physical port where possible. Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Petr Machata <petrm@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions