diff options
author | Petr Machata <petrm@mellanox.com> | 2020-08-03 19:11:40 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-04 04:06:46 +0300 |
commit | 54a9238589c533690c241fd3667a67d376d0a9cf (patch) | |
tree | 774feceebb744b7f57fbfeb94b832dbf51aca5fb /tools | |
parent | 6687e953f44fdb4683adb899a963adba45cffa5d (diff) | |
download | linux-54a9238589c533690c241fd3667a67d376d0a9cf.tar.xz |
mlxsw: spectrum_qdisc: Offload action trap for qevents
When offloading action trap on a qevent, pass to_dev of NULL to the SPAN
module to trigger the mirror to the CPU port. Query the buffer drops
policer and use it for policing of the trapped traffic.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions