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

2017-03-29 Thread Legacy, Allain
> -Original Message- > From: Zhang, Helin [mailto:helin.zh...@intel.com] > Sent: Tuesday, March 28, 2017 4:52 AM <...> > > + > > + dev = &rte_eth_devices[rxq->port_id]; > > + dev->data->rx_mbuf_alloc_failed += rxq- > > >rx_free_thresh; > > + > I think th

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

2017-03-28 Thread Zhang, Helin
> -Original Message- > From: Allain Legacy [mailto:allain.leg...@windriver.com] > Sent: Tuesday, March 28, 2017 12:31 AM > To: Zhang, Helin; Wu, Jingjing > Cc: dev@dpdk.org; Peters, Matt (Wind River) > Subject: [PATCH] net/i40e: mbuf alloc failed counter not incremented > > From: Matt Pe

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

2017-03-27 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