[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210211105644.15521-1-vigneshr@ti.com>
Date: Thu, 11 Feb 2021 16:26:40 +0530
From: Vignesh Raghavendra <vigneshr@...com>
To: David S Miller <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Jonathan Corbet <corbet@....net>, Jiri Pirko <jiri@...dia.com>
CC: Vignesh Raghavendra <vigneshr@...com>,
Grygorii Strashko <grygorii.strashko@...com>,
Andrew Lunn <andrew@...n.ch>, <netdev@...r.kernel.org>,
<linux-doc@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Linux ARM Mailing List <linux-arm-kernel@...ts.infradead.org>
Subject: [PATCH v2 0/4] net: ti: am65-cpsw-nuss: Add switchdev driver
This series adds switchdev support for AM65 CPSW NUSS driver to support
multi port CPSW present on J721e and AM64 SoCs.
It adds devlink hook to switch b/w switch mode and multi mac mode.
v2:
Rebased on latest net-next
Update patch 1/4 with rationale for using devlink
Vignesh Raghavendra (4):
net: ti: am65-cpsw-nuss: Add devlink support
net: ti: am65-cpsw-nuss: Add netdevice notifiers
net: ti: am65-cpsw-nuss: Add switchdev support
docs: networking: ti: Add driver doc for AM65 NUSS switch driver
.../device_drivers/ethernet/index.rst | 1 +
.../ethernet/ti/am65_nuss_cpsw_switchdev.rst | 143 +++++
.../devlink/am65-nuss-cpsw-switch.rst | 26 +
Documentation/networking/devlink/index.rst | 1 +
drivers/net/ethernet/ti/Kconfig | 10 +
drivers/net/ethernet/ti/Makefile | 1 +
drivers/net/ethernet/ti/am65-cpsw-nuss.c | 511 ++++++++++++++++-
drivers/net/ethernet/ti/am65-cpsw-nuss.h | 26 +
drivers/net/ethernet/ti/am65-cpsw-switchdev.c | 533 ++++++++++++++++++
drivers/net/ethernet/ti/am65-cpsw-switchdev.h | 34 ++
10 files changed, 1267 insertions(+), 19 deletions(-)
create mode 100644 Documentation/networking/device_drivers/ethernet/ti/am65_nuss_cpsw_switchdev.rst
create mode 100644 Documentation/networking/devlink/am65-nuss-cpsw-switch.rst
create mode 100644 drivers/net/ethernet/ti/am65-cpsw-switchdev.c
create mode 100644 drivers/net/ethernet/ti/am65-cpsw-switchdev.h
--
2.30.0
Powered by blists - more mailing lists