commit | 54a9238589c533690c241fd3667a67d376d0a9cf | [log] [tgz] |
---|---|---|
author | Petr Machata <petrm@mellanox.com> | Mon Aug 03 19:11:40 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 03 18:06:46 2020 -0700 |
tree | 774feceebb744b7f57fbfeb94b832dbf51aca5fb | |
parent | 6687e953f44fdb4683adb899a963adba45cffa5d [diff] |
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>