Re: [dpdk-dev] [PATCH v2] net/i40e: mbuf alloc failed counter not incremented

2017-04-25 Thread Zhang, Helin
> -Original Message- > From: Yigit, Ferruh > Sent: Monday, April 24, 2017 1:47 PM > To: Legacy, Allain (Wind River); Zhang, Helin; Wu, Jingjing > Cc: dev@dpdk.org; Peters, Matt (Wind River) > Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: mbuf alloc failed counter

Re: [dpdk-dev] [PATCH v2] net/i40e: mbuf alloc failed counter not incremented

2017-04-24 Thread Legacy, Allain
> -Original Message- > From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] > Sent: Monday, April 24, 2017 1:47 AM <...> > > nmb = rte_mbuf_raw_alloc(rxq->mp); > > - if (unlikely(!nmb)) > > + if (unlikely(!nmb)) { > > + PMD_RX_LOG(DEBUG, "RX m

Re: [dpdk-dev] [PATCH v2] net/i40e: mbuf alloc failed counter not incremented

2017-04-23 Thread Ferruh Yigit
On 4/22/2017 12:13 AM, Allain Legacy wrote: > From: Matt Peters > > When an mbuf alloc fails during the mempool get operation for the > i40e bulk alloc receive function, the rx_mbuf_alloc_failed counter > is not incremented to record the error. > > This fix ensures consistency with the other i40

[dpdk-dev] [PATCH v2] net/i40e: mbuf alloc failed counter not incremented

2017-04-21 Thread Allain Legacy
From: Matt Peters When an mbuf alloc fails during the mempool get operation for the i40e bulk alloc receive function, the rx_mbuf_alloc_failed counter is not incremented to record the error. This fix ensures consistency with the other i40e receive procedures and other net drivers. Signed-off-by