[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210330145419.381355-1-ciorneiioana@gmail.com>
Date: Tue, 30 Mar 2021 17:54:14 +0300
From: Ioana Ciornei <ciorneiioana@...il.com>
To: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org
Cc: olteanv@...il.com, andrew@...n.ch, f.fainelli@...il.com,
Ioana Ciornei <ioana.ciornei@....com>
Subject: [PATCH net-next 0/5] dpaa2-switch: add STP support
From: Ioana Ciornei <ioana.ciornei@....com>
This patch set adds support for STP to the dpaa2-switch.
First of all, it fixes a bug which was determined by the improper usage
of bridge BR_STATE_* values directly in the MC ABI.
The next patches deal with creating an ACL table per port and trapping
the STP frames to the control interface by adding an entry into each
table.
The last patch configures proper learning state depending on the STP
state.
Ioana Ciornei (5):
dpaa2-switch: fix the translation between the bridge and dpsw STP
states
dpaa2-switch: create and assign an ACL table per port
dpaa2-switch: keep track of the current learning state per port
dpaa2-switch: trap STP frames to the CPU
dpaa2-switch: setup learning state on STP state change
.../ethernet/freescale/dpaa2/dpaa2-switch.c | 152 ++++++++++++--
.../ethernet/freescale/dpaa2/dpaa2-switch.h | 7 +
.../net/ethernet/freescale/dpaa2/dpsw-cmd.h | 75 +++++++
drivers/net/ethernet/freescale/dpaa2/dpsw.c | 190 ++++++++++++++++++
drivers/net/ethernet/freescale/dpaa2/dpsw.h | 121 +++++++++++
5 files changed, 533 insertions(+), 12 deletions(-)
--
2.30.0
Powered by blists - more mailing lists