]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: fec: fix multicast filtering hardware setup
authorRui Sousa <rui.sousa@nxp.com>
Mon, 13 Feb 2017 02:01:25 +0000 (10:01 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2017 17:15:34 +0000 (12:15 -0500)
commit01f8902bcf3ff124d0aeb88a774180ebcec20ace
tree8bdfaaf59fc8014d67e942da914acb283b07309a
parent144adc655fac089d485ee66354d402b319cff6d2
net: fec: fix multicast filtering hardware setup

Fix hardware setup of multicast address hash:
- Never clear the hardware hash (to avoid packet loss)
- Construct the hash register values in software and then write once
to hardware

Signed-off-by: Rui Sousa <rui.sousa@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c