Searched hist:"1 e7cbabfdb12aa944ae0cb03871f8b55ede1341a" (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpsw.h | diff 1e7cbabfdb12aa944ae0cb03871f8b55ede1341a Mon Mar 22 15:58:56 CDT 2021 Ioana Ciornei <ioana.ciornei@nxp.com> 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>
|
H A D | dpsw-cmd.h | diff 1e7cbabfdb12aa944ae0cb03871f8b55ede1341a Mon Mar 22 15:58:56 CDT 2021 Ioana Ciornei <ioana.ciornei@nxp.com> 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>
|
H A D | dpsw.c | diff 1e7cbabfdb12aa944ae0cb03871f8b55ede1341a Mon Mar 22 15:58:56 CDT 2021 Ioana Ciornei <ioana.ciornei@nxp.com> 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>
|
H A D | dpaa2-switch.c | diff 1e7cbabfdb12aa944ae0cb03871f8b55ede1341a Mon Mar 22 15:58:56 CDT 2021 Ioana Ciornei <ioana.ciornei@nxp.com> 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>
|