]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: xgmac: Fix TSA selection
authorJose Abreu <Jose.Abreu@synopsys.com>
Wed, 6 Nov 2019 15:02:59 +0000 (16:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Nov 2019 05:22:55 +0000 (21:22 -0800)
commita4c9d475cb47c345e1df032fe45cc6e6570f1698
tree08fde595035bd9ba02072e5f575a0ae74b4c35c8
parenta92abb890d0ba3904224ef612bf2b7f289194dfe
net: stmmac: xgmac: Fix TSA selection

When we change between Transmission Scheduling Algorithms, we need to
clear previous values so that the new chosen algorithm is correctly
selected.

Fixes: 07517d640689 ("net: stmmac: Add CBS support in XGMAC2")
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