Re: [dpdk-dev] TX unable to enqueue packets to NIC due to no free TX descriptor

2019-04-14 Thread Xiao, Xiaohong (NSB - CN/Shanghai)
Sent: 2019年1月17日 5:46 To: Stephen Hemminger Cc: dev@dpdk.org; us...@dpdk.org; Uppal, Hardeep Subject: Re: [dpdk-users] [dpdk-dev] TX unable to enqueue packets to NIC due to no free TX descriptor On digging further found some more data. On the host where everything works fine, I can see 

Re: [dpdk-dev] TX unable to enqueue packets to NIC due to no free TX descriptor

2019-01-17 Thread Bruce Richardson
On Wed, Jan 16, 2019 at 09:45:42PM +, Soni, Shivam wrote: > On digging further found some more data. > > On the host where everything works fine, I can see 'txq->nb_tx_free' getting > reduced to 31 from 1024. After reaching at 31, i40e_tx_free_bufs() function > gets called, which frees the b

Re: [dpdk-dev] TX unable to enqueue packets to NIC due to no free TX descriptor

2019-01-16 Thread Soni, Shivam
On digging further found some more data. On the host where everything works fine, I can see 'txq->nb_tx_free' getting reduced to 31 from 1024. After reaching at 31, i40e_tx_free_bufs() function gets called, which frees the buffer and nb_tx_free reaches to 63. Also in the function i40e_tx_free_b

Re: [dpdk-dev] TX unable to enqueue packets to NIC due to no free TX descriptor

2019-01-14 Thread Soni, Shivam
I doubled the mempool size to 65535 but the issue is not resolved. On 1/11/19, 4:27 PM, "dev on behalf of Soni, Shivam" wrote: Hi Stephen, Thanks for the reply. Our mbuf pool is big enough. We have 2 RX cores, 2 TX cores and 8 worker cores. NTxd and NRxd is 1024 each

Re: [dpdk-dev] TX unable to enqueue packets to NIC due to no free TX descriptor

2019-01-11 Thread Soni, Shivam
Hi Stephen, Thanks for the reply. Our mbuf pool is big enough. We have 2 RX cores, 2 TX cores and 8 worker cores. NTxd and NRxd is 1024 each and we have 16 Rx rings (shared between Rx and workers) and 8 Tx rings (between Tx and workers) Mempool cache size is 256 and burst size is 32. So overall

Re: [dpdk-dev] TX unable to enqueue packets to NIC due to no free TX descriptor

2019-01-11 Thread Stephen Hemminger
On Fri, 11 Jan 2019 22:10:39 + "Soni, Shivam" wrote: > Hi All, > > 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 resolv

[dpdk-dev] TX unable to enqueue packets to NIC due to no free TX descriptor

2019-01-11 Thread Soni, Shivam
Hi All, 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 loo