mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
8fe67fae1d
Manually rebased: hack-5.10/780-usb-net-MeigLink_modem_support.patch Removed upstreamed: patches-5.10/110-gpio-mpc8xxx-Fix-support-for-IRQ_TYPE_LEVEL_LOW-flow.patch[1] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.145&id=24196210b198e8e39296e277bb93b362aa207775 Signed-off-by: John Audia <therealgraysky@proton.me>
28 lines
1013 B
Diff
28 lines
1013 B
Diff
From a1b291f3f6c80a6c5ccad7283fc472d77a2a4763 Mon Sep 17 00:00:00 2001
|
|
From: Russell King <rmk+kernel@armlinux.org.uk>
|
|
Date: Sun, 22 Dec 2019 12:40:11 +0000
|
|
Subject: [PATCH] net: dsa: mv88e6xxx: fix vlan setup
|
|
|
|
Provide an option that drivers can set to indicate they want to receive
|
|
vlan configuration even when vlan filtering is disabled. This is safe
|
|
for Marvell DSA bridges, which do not look up ingress traffic in the
|
|
VTU if the port is in 8021Q disabled state. Whether this change is
|
|
suitable for all DSA bridges is not known.
|
|
|
|
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
|
|
Signed-off-by: DENG Qingfang <dqfext@gmail.com>
|
|
---
|
|
drivers/net/dsa/mv88e6xxx/chip.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/drivers/net/dsa/mv88e6xxx/chip.c
|
|
+++ b/drivers/net/dsa/mv88e6xxx/chip.c
|
|
@@ -2921,6 +2921,7 @@ static int mv88e6xxx_setup(struct dsa_sw
|
|
|
|
chip->ds = ds;
|
|
ds->slave_mii_bus = mv88e6xxx_default_mdio_bus(chip);
|
|
+ ds->configure_vlan_while_not_filtering = true;
|
|
|
|
mv88e6xxx_reg_lock(chip);
|
|
|