[PATCH] dsa: mv88e6xxx: Enable forwarding for unknown to the CPU port

Subsystems: networking drivers, networking [dsa], the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Andrew Lunn, Vladimir Oltean, Linus Torvalds

STALE4049d

2 messages, 2 authors, 2015-09-30 · open the first message on its own page

  1. [PATCH] dsa: mv88e6xxx: Enable forwarding for unknown to the CPU port
    Related patches

    Other recent patches touching these files

[PATCH] dsa: mv88e6xxx: Enable forwarding for unknown to the CPU port

From: Andrew Lunn <andrew@lunn.ch>
Date: 2015-09-28 23:59:17

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>
---
 drivers/net/dsa/mv88e6xxx.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/drivers/net/dsa/mv88e6xxx.c b/drivers/net/dsa/mv88e6xxx.c
index 6f13f7206762..75831fe29868 100644
--- a/drivers/net/dsa/mv88e6xxx.c
+++ b/drivers/net/dsa/mv88e6xxx.c
@@ -2050,6 +2050,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) ||
-- 
2.5.1

Re: [PATCH] dsa: mv88e6xxx: Enable forwarding for unknown to the CPU port

From: David Miller <davem@davemloft.net>
Date: 2015-09-30 04:07:18

From: Andrew Lunn <andrew@lunn.ch>
Date: Tue, 29 Sep 2015 01:50:56 +0200
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>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help