[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220103131039.3473876-1-horatiu.vultur@microchip.com>
Date: Mon, 3 Jan 2022 14:10:36 +0100
From: Horatiu Vultur <horatiu.vultur@...rochip.com>
To: <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>
CC: <UNGLinuxDriver@...rochip.com>, <davem@...emloft.net>,
<kuba@...nel.org>, <f.fainelli@...il.com>,
<vivien.didelot@...il.com>, <vladimir.oltean@....com>,
<andrew@...n.ch>, Horatiu Vultur <horatiu.vultur@...rochip.com>
Subject: [PATCH net-next 0/3] net: lan966x: Extend switchdev with mdb support
This patch series extends lan966x with mdb support by implementing
the switchdev callbacks: SWITCHDEV_OBJ_ID_PORT_MDB and
SWITCHDEV_OBJ_ID_HOST_MDB.
It adds support for both ipv4/ipv6 entries and l2 entries.
Horatiu Vultur (3):
net: lan966x: Add function lan966x_mac_cpu_copy()
net: lan966x: Add PGID_FIRST and PGID_LAST
net: lan966x: Extend switchdev with mdb support
.../net/ethernet/microchip/lan966x/Makefile | 2 +-
.../ethernet/microchip/lan966x/lan966x_mac.c | 27 +-
.../ethernet/microchip/lan966x/lan966x_main.c | 2 +
.../ethernet/microchip/lan966x/lan966x_main.h | 24 +-
.../ethernet/microchip/lan966x/lan966x_mdb.c | 500 ++++++++++++++++++
.../ethernet/microchip/lan966x/lan966x_regs.h | 6 +
.../microchip/lan966x/lan966x_switchdev.c | 8 +
.../ethernet/microchip/lan966x/lan966x_vlan.c | 7 +-
8 files changed, 568 insertions(+), 8 deletions(-)
create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_mdb.c
--
2.33.0
Powered by blists - more mailing lists