Skip to content
Commit 4896bb7c authored by Esben Haabendal's avatar Esben Haabendal Committed by Paolo Abeni
Browse files

net: stmmac: do not clear TBS enable bit on link up/down



With the dma conf being reallocated on each call to stmmac_open(), any
information in there is lost, unless we specifically handle it.

The STMMAC_TBS_EN bit is set when adding an etf qdisc, and the etf qdisc
therefore would stop working when link was set down and then back up.

Fixes: ba39b344 ("net: ethernet: stmicro: stmmac: generate stmmac dma conf before open")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarEsben Haabendal <esben@geanix.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 60365049
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment