From: Ioana Ciornei <ioana.cior...@nxp.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

Reply via email to