diff options
author | Arun Ramadoss <[email protected]> | 2022-04-28 12:37:09 +0530 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-04-29 18:41:07 -0700 |
commit | fee34dd199384a483f84806a5cbcf8d657a481cc (patch) | |
tree | 57c989d848da2f844ba474fa9a3e5ff5e0093d9f /tools/perf/scripts/python | |
parent | 52b2abef450a78e25d485ac61e32f4ce86a87701 (diff) |
net: dsa: ksz9477: port mirror sniffing limited to one port
This patch limits the sniffing to only one port during the mirror add.
And during the mirror_del it checks for all the ports using the sniff,
if and only if no other ports are referring, sniffing is disabled.
The code is updated based on the review comments of LAN937x port mirror
patch.
Link: https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/
Fixes: b987e98e50ab ("dsa: add DSA switch driver for Microchip KSZ9477")
Signed-off-by: Prasanna Vengateshan <[email protected]>
Signed-off-by: Arun Ramadoss <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions