From: Arun Ramadoss <arun.ramadoss@microchip.com>
To: <linux-kernel@vger.kernel.org>, <netdev@vger.kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>, Jakub Kicinski <kuba@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Vladimir Oltean <olteanv@gmail.com>,
Florian Fainelli <f.fainelli@gmail.com>,
Vivien Didelot <vivien.didelot@gmail.com>,
Andrew Lunn <andrew@lunn.ch>, <UNGLinuxDriver@microchip.com>,
Woojung Huh <woojung.huh@microchip.com>
Subject: [RFC patch net-next 0/3] net: dsa: ksz: generic port mirror function for ksz9477 based switch
Date: Wed, 27 Apr 2022 21:53:40 +0530 [thread overview]
Message-ID: <20220427162343.18092-1-arun.ramadoss@microchip.com> (raw)
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
next reply other threads:[~2022-04-27 16:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-27 16:23 Arun Ramadoss [this message]
2022-04-27 16:23 ` [RFC patch net-next 1/3] net: dsa: ksz9477: port mirror sniffing limited to one port Arun Ramadoss
2022-04-27 16:40 ` Vladimir Oltean
2022-04-27 16:23 ` [RFC patch net-next 2/3] net: dsa: ksz: remove duplicate ksz_cfg and ksz_port_cfg Arun Ramadoss
2022-04-27 16:49 ` Vladimir Oltean
2022-04-27 16:23 ` [RFC patch net-next 3/3] net: dsa: ksz: moved ksz9477 port mirror to ksz_common.c Arun Ramadoss
2022-04-27 16:57 ` Vladimir Oltean
2022-04-28 15:09 ` Arun.Ramadoss
2022-04-28 15:22 ` Vladimir Oltean
2022-04-28 16:05 ` Arun.Ramadoss
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220427162343.18092-1-arun.ramadoss@microchip.com \
--to=arun.ramadoss@microchip.com \
--cc=UNGLinuxDriver@microchip.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=vivien.didelot@gmail.com \
--cc=woojung.huh@microchip.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).