diff options
author | Ido Schimmel <[email protected]> | 2020-04-30 20:01:08 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-04-30 13:02:32 -0700 |
commit | 466010342e89240c45746f65767c7290b96a4b36 (patch) | |
tree | cdeda56665312ac3a7288657f87f52140cb19c8a /lib/test_overflow.c | |
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 <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions