]> 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)
commit5cbafb01db1e3733dfb456f565b8ae15b229bf45
tree5641f7e01154db01e7e4a37bc96bdf764a7ec0f1
parent36eeb9a59f723c5940cad609312aa5c09a1c8ed0
net: stmmac: xgmac: Fix VLAN register handling

Commit 9acc9df2af48, 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: 9acc9df2af48 ("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