projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31b33df
)
dsa: mv88e6xxx: Enable forwarding for unknown to the CPU port
author
Andrew Lunn
<andrew@lunn.ch>
Mon, 28 Sep 2015 23:50:56 +0000
(
01:50
+0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 30 Sep 2015 04:06:51 +0000
(21:06 -0700)
Frames destined to an unknown address must be forwarded to the CPU
port. Otherwise incoming ARP, dhcp leases, etc, do not work.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/dsa/mv88e6xxx.c
b/drivers/net/dsa/mv88e6xxx.c
index f8baa897d1a0e48b39f2d628ce36bfc2ef73ca08..1f7dd927cc5ea4777530a8ba23daae631f258bf9 100644
(file)
--- a/
drivers/net/dsa/mv88e6xxx.c
+++ b/
drivers/net/dsa/mv88e6xxx.c
@@
-2051,6
+2051,8
@@
static int mv88e6xxx_setup_port(struct dsa_switch *ds, int port)
reg |= PORT_CONTROL_FRAME_ETHER_TYPE_DSA;
else
reg |= PORT_CONTROL_FRAME_MODE_DSA;
+ reg |= PORT_CONTROL_FORWARD_UNKNOWN |
+ PORT_CONTROL_FORWARD_UNKNOWN_MC;
}
if (mv88e6xxx_6352_family(ds) || mv88e6xxx_6351_family(ds) ||