[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220427162343.18092-1-arun.ramadoss@microchip.com>
Date: Wed, 27 Apr 2022 21:53:40 +0530
From: Arun Ramadoss <arun.ramadoss@...rochip.com>
To: <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>
CC: Paolo Abeni <pabeni@...hat.com>, Jakub Kicinski <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Vladimir Oltean <olteanv@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vivien Didelot <vivien.didelot@...il.com>,
Andrew Lunn <andrew@...n.ch>, <UNGLinuxDriver@...rochip.com>,
Woojung Huh <woojung.huh@...rochip.com>
Subject: [RFC patch net-next 0/3] net: dsa: ksz: generic port mirror function for ksz9477 based switch
This patch series updates the ksz9477 port_mirror_add and port_mirror_del as
per the LAN937x patch submission. It allows only one port to be sniffing port.
Then moves the function to ksz_common.c file, to have it referenced by LAN937x
based switch. And add new header file ksz_reg.h which has common register
address between them.
Arun Ramadoss (3):
net: dsa: ksz9477: port mirror sniffing limited to one port
net: dsa: ksz: remove duplicate ksz_cfg and ksz_port_cfg
net: dsa: ksz: moved ksz9477 port mirror to ksz_common.c
drivers/net/dsa/microchip/ksz8795.c | 12 -----
drivers/net/dsa/microchip/ksz9477.c | 56 +------------------
drivers/net/dsa/microchip/ksz9477_reg.h | 15 ------
drivers/net/dsa/microchip/ksz_common.c | 72 +++++++++++++++++++++++++
drivers/net/dsa/microchip/ksz_common.h | 18 +++++++
drivers/net/dsa/microchip/ksz_reg.h | 29 ++++++++++
6 files changed, 121 insertions(+), 81 deletions(-)
create mode 100644 drivers/net/dsa/microchip/ksz_reg.h
base-commit: 03fa8fc93e443e6caa485cc741328a1386c63630
--
2.33.0
Powered by blists - more mailing lists