Commit b1eded5
net: stmmac: Set CIC bit only for TX queues with COE
Currently, in the AF_XDP transmit paths, the CIC bit of
TX Desc3 is set for all packets. Setting this bit for
packets transmitting through queues that don't support
checksum offloading causes the TX DMA to get stuck after
transmitting some packets. This patch ensures the CIC bit
of TX Desc3 is set only if the TX queue supports checksum
offloading.
Fixes: 132c32e ("net: stmmac: Add TX via XDP zero-copy socket")
Signed-off-by: Rohan G Thomas <[email protected]>
Reviewed-by: Matthew Gerlach <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>1 parent 42ef11b commit b1eded5
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2584 | 2584 | | |
2585 | 2585 | | |
2586 | 2586 | | |
| 2587 | + | |
2587 | 2588 | | |
2588 | 2589 | | |
2589 | 2590 | | |
| |||
2671 | 2672 | | |
2672 | 2673 | | |
2673 | 2674 | | |
2674 | | - | |
| 2675 | + | |
2675 | 2676 | | |
2676 | 2677 | | |
2677 | 2678 | | |
| |||
4983 | 4984 | | |
4984 | 4985 | | |
4985 | 4986 | | |
| 4987 | + | |
4986 | 4988 | | |
4987 | 4989 | | |
4988 | 4990 | | |
| |||
5034 | 5036 | | |
5035 | 5037 | | |
5036 | 5038 | | |
5037 | | - | |
| 5039 | + | |
5038 | 5040 | | |
5039 | 5041 | | |
5040 | 5042 | | |
| |||
0 commit comments