mbox series

[net-next,0/6] dpaa2-switch: offload bridge port flags to device

Message ID 20210322205859.606704-1-ciorneiioana@gmail.com
Headers show
Series dpaa2-switch: offload bridge port flags to device | expand

Message

Ioana Ciornei March 22, 2021, 8:58 p.m. UTC
From: Ioana Ciornei <ioana.ciornei@nxp.com>

Add support for offloading bridge port flags to the switch. With this
patch set, the learning, broadcast flooding and unknown ucast/mcast
flooding states will be user configurable.

Apart from that, the last patch is a small fix that configures the
offload_fwd_mark if the switch port is under a bridge or not.

Ioana Ciornei (6):
  dpaa2-switch: move the dpaa2_switch_fdb_set_egress_flood function
  dpaa2-switch: refactor the egress flooding domain setup
  dpaa2-switch: add support for configuring learning state per port
  dpaa2-switch: add support for configuring per port broadcast flooding
  dpaa2-switch: add support for configuring per port unknown flooding
  dpaa2-switch: mark skbs with offload_fwd_mark

 .../ethernet/freescale/dpaa2/dpaa2-switch.c   | 214 ++++++++++++++----
 .../ethernet/freescale/dpaa2/dpaa2-switch.h   |   3 +-
 .../net/ethernet/freescale/dpaa2/dpsw-cmd.h   |  10 +
 drivers/net/ethernet/freescale/dpaa2/dpsw.c   |  27 +++
 drivers/net/ethernet/freescale/dpaa2/dpsw.h   |  25 +-
 5 files changed, 225 insertions(+), 54 deletions(-)