aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/hack-5.15
diff options
context:
space:
mode:
authorMarek BehĂșn <kabel@kernel.org>2022-03-21 17:53:10 +0100
committerChristian Lamparter <chunkeey@gmail.com>2022-06-19 12:31:02 +0200
commit742926e5f5cb2a9e6ee7acc2d2da817dadb75d23 (patch)
treec385f58cba7197abf5c31f89750bd6fa2f11bcdf /target/linux/generic/hack-5.15
parent554ca44730731da6fddc51e1d3027c5e666a7d0d (diff)
downloadupstream-742926e5f5cb2a9e6ee7acc2d2da817dadb75d23.tar.gz
upstream-742926e5f5cb2a9e6ee7acc2d2da817dadb75d23.tar.bz2
upstream-742926e5f5cb2a9e6ee7acc2d2da817dadb75d23.zip
kernel: Backport mv88e6xxx patch to keep pvid at 0 if VLAN-unaware and remove hack
Keeping the pvid at 0 when VLAN-unaware makes it possible to drop the hack introduced in commit 920eaab1d817 ("kernel: DSA roaming fix for Marvell mv88e6xxx"). Dropping the hack makes it possible to use VLAN interfaces with VID 1 on DSA ports without problems with FDB. Signed-off-by: Marek BehĂșn <kabel@kernel.org> (cherry picked from commit 9caa6f0aa742253901c72f43eebecd2c8da5f127) Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com> [drop kernel patch hack from Linux version 5.15, drop paragraph about backport patch, which is not necessary as it is included in kernel 5.15]
Diffstat (limited to 'target/linux/generic/hack-5.15')
-rw-r--r--target/linux/generic/hack-5.15/710-net-dsa-mv88e6xxx-default-VID-1.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/target/linux/generic/hack-5.15/710-net-dsa-mv88e6xxx-default-VID-1.patch b/target/linux/generic/hack-5.15/710-net-dsa-mv88e6xxx-default-VID-1.patch
deleted file mode 100644
index f85b558fef..0000000000
--- a/target/linux/generic/hack-5.15/710-net-dsa-mv88e6xxx-default-VID-1.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/drivers/net/dsa/mv88e6xxx/chip.c
-+++ b/drivers/net/dsa/mv88e6xxx/chip.c
-@@ -2321,6 +2321,7 @@ static int mv88e6xxx_port_fdb_add(struct
- struct mv88e6xxx_chip *chip = ds->priv;
- int err;
-
-+ vid = vid ? : 1;
- mv88e6xxx_reg_lock(chip);
- err = mv88e6xxx_port_db_load_purge(chip, port, addr, vid,
- MV88E6XXX_G1_ATU_DATA_STATE_UC_STATIC);
-@@ -2335,6 +2336,7 @@ static int mv88e6xxx_port_fdb_del(struct
- struct mv88e6xxx_chip *chip = ds->priv;
- int err;
-
-+ vid = vid ? : 1;
- mv88e6xxx_reg_lock(chip);
- err = mv88e6xxx_port_db_load_purge(chip, port, addr, vid, 0);
- mv88e6xxx_reg_unlock(chip);