commit | 6de9fceeaa654a5470627817f7800aa849dd4489 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Tue Feb 25 11:45:25 2020 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 25 11:05:55 2020 -0800 |
tree | ce7d218b20c02ef32df7e14abb975bd855c74732 | |
parent | 78a7dcb7c952477df18484f83592e11547d4f65a [diff] |
mlxsw: spectrum_trap: Lookup and pass cookie down to devlink_trap_report() Use the cookie index received along with the packet to lookup original flow_offload cookie binary and pass it down to devlink_trap_report(). Add "fa_cookie" metadata to the ACL trap. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>