[PATCH net-next 0/6] net: lan966x: Add switchdev and vlan support

From: Horatiu Vultur
Date: Fri Dec 03 2021 - 05:45:56 EST


This patch series extends lan966x with switchdev and vlan support.
The first patches just adds new registers and extend the MAC table to
handle the interrupts when a new address is learn/forget.
The last 2 patches adds the vlan and the switchdev support.

Horatiu Vultur (6):
net: lan966x: Add registers that are used for switch and vlan
functionality
dt-bindings: net: lan966x: Extend with the analyzer interrupt
net: lan966x: add support for interrupts from analyzer
net: lan966x: More MAC table functionality
net: lan966x: Add vlan support
net: lan966x: Add switchdev support

.../net/microchip,lan966x-switch.yaml | 2 +
.../net/ethernet/microchip/lan966x/Makefile | 3 +-
.../ethernet/microchip/lan966x/lan966x_mac.c | 337 +++++++++++
.../ethernet/microchip/lan966x/lan966x_main.c | 92 ++-
.../ethernet/microchip/lan966x/lan966x_main.h | 71 ++-
.../ethernet/microchip/lan966x/lan966x_regs.h | 129 +++++
.../microchip/lan966x/lan966x_switchdev.c | 544 ++++++++++++++++++
.../ethernet/microchip/lan966x/lan966x_vlan.c | 439 ++++++++++++++
8 files changed, 1602 insertions(+), 15 deletions(-)
create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_switchdev.c
create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_vlan.c

--
2.33.0