]> git.droids-corp.org - dpdk.git/commit
net/cxgbe: fix Tx queue stuck with mbuf chain coalescing
authorRahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Mon, 18 Apr 2022 22:24:19 +0000 (03:54 +0530)
committerFerruh Yigit <ferruh.yigit@xilinx.com>
Thu, 5 May 2022 15:58:09 +0000 (17:58 +0200)
commit151e828f6427667faf3fdfaa00d14a65c7f57cd6
tree45acfcea69972997391f9ea8664e94007c71b27f
parent86b4d566467d06c66dd5ed2474e12bb17d8861f2
net/cxgbe: fix Tx queue stuck with mbuf chain coalescing

When trying to coalesce mbufs with chain on Tx side, it is possible
to get stuck during queue wrap around. When coalescing this mbuf
chain fails, the Tx path returns EBUSY and when the same packet
is retried again, it couldn't get coalesced again, and the loop
repeats. Fix by pushing the packet through the normal Tx path.
Also use FW_ETH_TX_PKTS_WR to handle mbufs with chain for FW
to optimize.

Fixes: 6c2809628cd5 ("net/cxgbe: improve latency for slow traffic")
Cc: stable@dpdk.org
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
drivers/net/cxgbe/sge.c