diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2021-03-30 17:54:17 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-30 17:18:26 -0700 |
commit | 62734c7405b749a760c88c3e33d250c9efde263e (patch) | |
tree | 304d3e55cb4002759d1a83c80988854fe1de3126 /drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.h | |
parent | 90f07102352945efcd75ade6e9293bfe0306b3fe (diff) | |
download | lwn-62734c7405b749a760c88c3e33d250c9efde263e.tar.gz lwn-62734c7405b749a760c88c3e33d250c9efde263e.zip |
dpaa2-switch: keep track of the current learning state per port
Keep track of the current learning state per port so that we can
reference it in the next patches when setting up a STP state.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.h')
-rw-r--r-- | drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.h b/drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.h index 655937887960..35990761ce8f 100644 --- a/drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.h +++ b/drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.h @@ -115,6 +115,7 @@ struct ethsw_port_priv { struct dpaa2_switch_fdb *fdb; bool bcast_flood; bool ucast_flood; + bool learn_ena; u16 acl_tbl; }; |