]> 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)
commitea8f4013692c055aea3a2578d75ebe7929ffe639
tree08fde595035bd9ba02072e5f575a0ae74b4c35c8
parent0839243efbfb846d0230bbfc5cebfd4677f87bbd
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: 600acdc0650a ("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