]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: lan9303: Set up trapping of IGMP to CPU port
authorEgil Hjelmeland <privat@egil-hjelmeland.no>
Fri, 10 Nov 2017 11:54:34 +0000 (12:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Nov 2017 12:50:14 +0000 (21:50 +0900)
commit559d6479f8a720a1a0f976eef33be8a292aaf649
tree59a21bcb6486345fe7cb86b6a820da239fa33136
parenta133c3fd9e78ae645b2a79715bd4d00d380468f7
net: dsa: lan9303: Set up trapping of IGMP to CPU port

IGMP packets should be trapped to the CPU port. The SW bridge knows
whether to forward to other ports.

With "IGMP snooping for local traffic" merged, IGMP trapping is also
required for stable IGMPv2 operation.

LAN9303 does not trap IGMP packets by default.

Enable IGMP trapping in lan9303_setup.

Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/lan9303-core.c