diff options
| author | 2021-04-21 17:11:49 +0800 | |
|---|---|---|
| committer | 2021-04-21 10:51:26 -0700 | |
| commit | 5e6038b88a5718910dd74b949946d9d9cee9a041 (patch) | |
| tree | 32a32ad329886ac01b3cc39b0036ffb02510e0c6 /lib/math/git:/ssh:/git@git.zx2c4.com | |
| parent | nfp: devlink: initialize the devlink port attribute "lanes" (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 'lib/math/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
