[dpdk-users] TX unable to enqueue packets to NIC due to no free TX descriptor
shivsoni at amazon.com
Fri Jan 11 23:10:39 CET 2019
We are trying to debug and fix an issue. After the deployment, in few of the hosts we see an issue where TX is unable to enqueue packets to NIC. On rebouncing or restarting our packet processor daemon, issue gets resolved.
We are using IntelDPDK version 17.11.4 and i40e drivers.
On looking into driver’s code, we found that whenever the issue is happening the value for nb_tx_free is ‘0’. And then it tries to free the buffer by calling function ‘i40e_tx_free_bufs’.
This method returns early as the buffer its trying to free says it hasn’t finished transmitting yet. The method returns at this if condition:
/* check DD bits on threshold descriptor */
if ((txq->tx_ring[txq->tx_next_dd].cmd_type_offset_bsz &
Hence nb_tx_free remains 0.
Our tx descriptor count is 1024.
How can we fix this issue. Can someone help us out here please.
More information about the users