commit | 466010342e89240c45746f65767c7290b96a4b36 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Thu Apr 30 20:01:08 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 30 13:02:32 2020 -0700 |
tree | cdeda56665312ac3a7288657f87f52140cb19c8a | |
parent | 07f81727c1a0b8f2acdabc060727eff60bffc048 [diff] |
mlxsw: spectrum_span: Add APIs to get / put a SPAN agent Given a netdev that packets should be mirrored to, create a SPAN agent and return its identifier to the caller. The SPAN agent is reference counted, as multiple tc-mirred actions can point to the same destination netdev. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>