Skip to contentSkip to conversation

Patch "net: dsa: mv88e6xxx: Allow dsa and cpu ports in multiple vlans" has been added to the 4.13-stable tree

PATCH [email protected] 1 participant 1 message Oct 9, 2017

Subsystems (4)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

net: dsa: mv88e6xxx: Allow dsa and cpu ports in multiple vlans

to the 4.13-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
net-dsa-mv88e6xxx-allow-dsa-and-cpu-ports-in-multiple-vlans.patch
and it can be found in the queue-4.13 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Mon Oct 9 09:32:35 CEST 2017

From: Andrew Lunn <[email protected]>
Date: Mon, 25 Sep 2017 23:32:20 +0200
Subject: net: dsa: mv88e6xxx: Allow dsa and cpu ports in multiple vlans

From: Andrew Lunn <[email protected]>

[ Upstream commit db06ae41945b14feb7f696dcafe8048cc37e8a20 ]

Ports with the same VLAN must all be in the same bridge. However the CPU and DSA ports need to be in multiple VLANs spread over multiple bridges. So exclude them when performing this test.

Fixes b2f81d304cee ("net: dsa: add CPU and DSA ports as VLAN members")
---
 drivers/net/dsa/mv88e6xxx/chip.c |    4 ++++
 1 file changed, 4 insertions(+)
drivers/net/dsa/mv88e6xxx/chip.c +4 -0
@@ -1184,6 +1184,10 @@ static int mv88e6xxx_port_check_hw_vlan(
 	};
 	int i, err;
 
+	/* DSA and CPU ports have to be members of multiple vlans */
+	if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port))
+		return 0;
+
 	if (!vid_begin)
 		return -EOPNOTSUPP;
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.13/net-phy-fix-mask-value-write-on-gmii2rgmii-converter-speed-register.patch queue-4.13/net-dsa-mv88e6xxx-allow-dsa-and-cpu-ports-in-multiple-vlans.patch