linux/drivers/net/ethernet/freescale/dpaa2
Ioana Ciornei 1e7cbabfdb dpaa2-switch: add support for configuring learning state per port
Add support for configuring the learning state of a switch port.
When the user requests the HW learning to be disabled, a fast-age
procedure on that specific port is run so that previously learnt
addresses do not linger.

At device probe as well as on a bridge leave action, the ports are
configured with HW learning disabled since they are basically a
standalone port.

At the same time, at bridge join we inherit the bridge port BR_LEARNING
flag state and configure it on the switch port.

There were already some MC firmware ABI functions for changing the
learning state, but those were per FDB (bridging domain) and not per
port so we need to adjust those to use the new MC fw command which is
per port.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-22 16:37:44 -07:00
..
dpaa2-eth-dcb.c dpaa2-eth: add a dpaa2_eth_ prefix to all functions in dpaa2-eth-dcb.c 2020-09-01 13:23:47 -07:00
dpaa2-eth-debugfs.c dpaa2-eth: Convert to DEFINE_SHOW_ATTRIBUTE 2020-09-17 17:05:29 -07:00
dpaa2-eth-debugfs.h dpaa2: no need to check return value of debugfs_create functions 2019-08-10 15:25:48 -07:00
dpaa2-eth-devlink.c dpaa2-eth: add support for devlink parser error drop traps 2020-10-02 16:31:56 -07:00
dpaa2-eth-trace.h dpaa2-eth: fix recursive header include 2020-06-25 16:03:39 -07:00
dpaa2-eth.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-02-16 17:51:13 -08:00
dpaa2-eth.h net: dpaa2-mac: add backplane link mode support 2021-02-06 14:35:21 -08:00
dpaa2-ethtool.c dpaa2-mac: export MAC counters even when in TYPE_FIXED 2021-01-09 16:21:30 -08:00
dpaa2-mac.c net: dpaa2-mac: add backplane link mode support 2021-02-06 14:35:21 -08:00
dpaa2-mac.h dpaa2-mac: split up initializing the MAC object from connecting to it 2021-01-09 16:21:29 -08:00
dpaa2-ptp.c dpaa2-eth: define a global ptp_qoriq structure pointer 2020-09-18 14:32:48 -07:00
dpaa2-ptp.h dpaa2-eth: define a global ptp_qoriq structure pointer 2020-09-18 14:32:48 -07:00
dpaa2-switch-ethtool.c staging: dpaa2-switch: move the driver out of staging 2021-03-10 13:30:36 -08:00
dpaa2-switch.c dpaa2-switch: add support for configuring learning state per port 2021-03-22 16:37:44 -07:00
dpaa2-switch.h staging: dpaa2-switch: move the driver out of staging 2021-03-10 13:30:36 -08:00
dpkg.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpmac-cmd.h dpaa2-eth: fix a build warning in dpmac.c 2020-09-18 14:36:00 -07:00
dpmac.c dpaa2-eth: add ethtool MAC counters 2019-11-07 15:31:53 -08:00
dpmac.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpni-cmd.h dpaa2-eth: add support for Rx VLAN filtering 2021-01-13 19:20:55 -08:00
dpni.c dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpni.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dprtc-cmd.h dpaa2-ptp: add external trigger event support 2019-12-16 15:56:41 -08:00
dprtc.c dpaa2-ptp: add interrupt support 2019-06-15 13:43:06 -07:00
dprtc.h dpaa2-eth: fixup kdoc warnings 2021-03-16 15:29:49 -07:00
dpsw-cmd.h dpaa2-switch: add support for configuring learning state per port 2021-03-22 16:37:44 -07:00
dpsw.c dpaa2-switch: add support for configuring learning state per port 2021-03-22 16:37:44 -07:00
dpsw.h dpaa2-switch: add support for configuring learning state per port 2021-03-22 16:37:44 -07:00
Kconfig staging: dpaa2-switch: move the driver out of staging 2021-03-10 13:30:36 -08:00
Makefile staging: dpaa2-switch: move the driver out of staging 2021-03-10 13:30:36 -08:00