]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: lan9303: Transmit using ALR when unicast
authorEgil Hjelmeland <privat@egil-hjelmeland.no>
Tue, 31 Oct 2017 14:48:00 +0000 (15:48 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Nov 2017 12:30:24 +0000 (21:30 +0900)
commita387211a53c79ab11804f0d857e60292dfcfcad0
treefa5c620a096ad91af8035bfce718feb920c8cdbf
parent3cf95f60bc302950dfd0569195a7372a31bc755f
net: dsa: lan9303: Transmit using ALR when unicast

lan9303_xmit_use_arl() introduced in previous patch set is wrong.
The chip flood broadcast and unknown multicast frames. The effect is that
broadcasts and multicasts are duplicated on egress. It is not possible to
configure the chip to direct unknown multicasts to CPU port only.

This means that only unicast frames can be transmitted using ALR lookup.

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>
net/dsa/tag_lan9303.c