net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering
authorCorentin Labbe <clabbe@baylibre.com>
Mon, 13 May 2019 13:06:39 +0000 (13:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 May 2019 16:59:41 +0000 (09:59 -0700)
commitd4c26eb6e721683a0f93e346ce55bc8dc3cbb175
tree8ba976888d3e4b4a5f5f2074f45ed9e102808b46
parenta8577e1312668a1d0fc996a0e5b31b3233fd79b3
net: ethernet: stmmac: dwmac-sun8i: enable support of unicast filtering

When adding more MAC addresses to a dwmac-sun8i interface, the device goes
directly in promiscuous mode.
This is due to IFF_UNICAST_FLT missing flag.

So since the hardware support unicast filtering, let's add IFF_UNICAST_FLT.

Fixes: 9f93ac8d4085 ("net-next: stmmac: Add dwmac-sun8i")
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c