[PATCH net v2 0/2] dpaa2-switch: reject VLAN uppers while bridged

From: Ioana Ciornei

Date: Thu Jun 18 2026 - 05:29:45 EST


The dpaa2-switch driver does not support VLAN uppers on its ports while
they are bridged. The check which should have prevented a port with a
VLAN upper to join bridge was poorly refactored and didn't actually
return an error. Patch 2/2 fixes that.

On the other hand, the driver didn't reject the addition of a VLAN upper
while bridged. Patch 1/2 fixes that.

Changes in v2:
- added patch 1/2

Ioana Ciornei (2):
dpaa2-switch: do not accept VLAN uppers while bridged
dpaa2-switch: fix VLAN upper check not rejecting bridge join

drivers/net/ethernet/freescale/dpaa2/dpaa2-switch.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

--
2.25.1