linux-sg2042/drivers/net/ethernet
Lennart Sorensen 1e5c4bc497 drivers: net: cpsw: Support ALLMULTI and fix IFF_PROMISC in switch mode
The cpsw driver did not support the IFF_ALLMULTI flag which makes dynamic
multicast routing not work.  Related to this, when enabling IFF_PROMISC
in switch mode, all registered multicast addresses are flushed, resulting
in only broadcast and unicast traffic being received.

A new cpsw_ale_set_allmulti function now scans through the ALE entry
table and adds/removes the host port from the unregistered multicast
port mask of each vlan entry depending on the state of IFF_ALLMULTI.
In promiscious mode, cpsw_ale_set_allmulti is used to force reception
of all multicast traffic in addition to the unicast and broadcast traffic.

With this change dynamic multicast and promiscious mode both work in
switch mode.

Signed-off-by: Len Sorensen <lsorense@csclub.uwaterloo.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-10-31 16:17:56 -04:00
..
3com
8390
adaptec
adi
aeroflex
agere
allwinner
alteon
altera
amd amd-xgbe: Fix napi Rx budget accounting 2014-10-22 17:50:31 -04:00
apm drivers: net: xgene: Rewrite buggy loop in xgene_enet_ecc_init() 2014-10-25 17:05:20 -04:00
apple
arc
atheros
broadcom cnic: Update the rcu_access_pointer() usages 2014-10-29 15:07:28 -04:00
brocade
cadence
calxeda
chelsio cxgb4 : Fix missing initialization of win0_lock 2014-10-30 16:51:34 -04:00
cirrus
cisco
davicom
dec
dlink
emulex
faraday
freescale net: fec: ptp: fix NULL pointer dereference if ptp_clock is not set 2014-10-22 17:48:06 -04:00
fujitsu
hisilicon
hp
i825xx
ibm
icplus
intel ixgbe: fix race when setting advertised speed 2014-10-30 05:12:07 -07:00
marvell
mellanox mlx4: Avoid leaking steering rules on flow creation error flow 2014-10-30 19:48:58 -04:00
micrel
microchip
moxa
myricom
natsemi
neterion
nuvoton
nvidia
nxp
octeon
oki-semi
packetengines
pasemi
qlogic
qualcomm
rdc
realtek
renesas
samsung
seeq
sfc
sgi
silan
sis
smsc net: smc91x: Fix gpios for device tree based booting 2014-10-31 15:54:18 -04:00
stmicro stmmac: pci: set default of the filter bins 2014-10-31 16:09:57 -04:00
sun
tehuti
ti drivers: net: cpsw: Support ALLMULTI and fix IFF_PROMISC in switch mode 2014-10-31 16:17:56 -04:00
tile
toshiba
tundra
via
wiznet
xilinx
xircom
xscale
Kconfig
Makefile
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
korina.c
lantiq_etop.c
netx-eth.c
s6gmac.c