summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorOng Boon Leong <boon.leong.ong@intel.com>2021-04-21 17:11:49 +0800
committerDavid S. Miller <davem@davemloft.net>2021-04-21 10:51:26 -0700
commit5e6038b88a5718910dd74b949946d9d9cee9a041 (patch)
tree32a32ad329886ac01b3cc39b0036ffb02510e0c6 /block
parent90b669d65d99a3ee6965275269967cdee4da106e (diff)
net: stmmac: fix TSO and TBS feature enabling during driver open
TSO and TBS cannot co-exist and current implementation requires two fixes: 1) stmmac_open() does not need to call stmmac_enable_tbs() because the MAC is reset in stmmac_init_dma_engine() anyway. 2) Inside stmmac_hw_setup(), we should call stmmac_enable_tso() for TX Q that is _not_ configured for TBS. Fixes: 579a25a854d4 ("net: stmmac: Initial support for TBS") Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions