Commit 5e6038b
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: 579a25a ("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>1 parent 90b669d commit 5e6038b
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2757 | 2757 | | |
2758 | 2758 | | |
2759 | 2759 | | |
2760 | | - | |
| 2760 | + | |
| 2761 | + | |
| 2762 | + | |
| 2763 | + | |
| 2764 | + | |
| 2765 | + | |
| 2766 | + | |
2761 | 2767 | | |
| 2768 | + | |
2762 | 2769 | | |
2763 | 2770 | | |
2764 | 2771 | | |
| |||
2850 | 2857 | | |
2851 | 2858 | | |
2852 | 2859 | | |
| 2860 | + | |
2853 | 2861 | | |
2854 | | - | |
2855 | | - | |
2856 | 2862 | | |
2857 | 2863 | | |
2858 | 2864 | | |
| |||
0 commit comments