]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: xgmac: Fix VLAN register handling
authorJose Abreu <Jose.Abreu@synopsys.com>
Thu, 2 Apr 2020 13:57:07 +0000 (15:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2020 14:04:45 +0000 (07:04 -0700)
commit092a9c9f310b4ae1f3ff5350e35bce10ea7a91b7
tree5641f7e01154db01e7e4a37bc96bdf764a7ec0f1
parent6f49f69902ca2713dabf40a00b1df90e04e5f054
net: stmmac: xgmac: Fix VLAN register handling

Commit fcce6e59f521, forgot that we need to clear old values of
XGMAC_VLAN_TAG register when we switch from VLAN perfect matching to
HASH matching.

Fix it.

Fixes: fcce6e59f521 ("net: stmmac: xgmac: fix incorrect XGMAC_VLAN_TAG register writting")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c