staging: dpaa2-ethsw: setup the STP state for all installed VLANs
authorIoana Ciornei <ioana.ciornei@nxp.com>
Tue, 21 Jul 2020 09:19:16 +0000 (12:19 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jul 2020 14:53:34 +0000 (16:53 +0200)
commit4acfc4393e90e4dfa6ebc6e43545296ca1d928fe
tree92e98af0fe65c675a4a13a9d01725947c7781ab2
parentaf85d0e06c6ab1a2d9432cf5923a1a5de816ac22
staging: dpaa2-ethsw: setup the STP state for all installed VLANs

Setup the STP state for all VLANs installed on the port. This is also
avoiding the error situation when the DEFAULT_VLAN_ID is not installed
on the port (thus the firmware complains that it cannot setup the
required STP state).

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Link: https://lore.kernel.org/r/20200721091919.20394-4-ioana.ciornei@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethsw/ethsw.c