Re: [dpdk-dev] [PATCH 1/4] net/ena: fix incorrect Rx descriptors allocation

2017-04-12 Thread Jakub Palider
Looks good to me but please, check commnt on patch 2/4. Moving the "-1" indexing fix from patch 2/4 into 1/4 will reflect all related changes in one place. But this is not a functional change, so may go in current shape as well. Jakub On Fri, Apr 7, 2017 at 12:48 PM, Marcin Wojtas wrote: > From

[dpdk-dev] [PATCH 1/4] net/ena: fix incorrect Rx descriptors allocation

2017-04-07 Thread Marcin Wojtas
From: Michal Krawczyk When application tried to allocate 1024 descriptors, device was not initializing properly. This patch solves it by avoiding allocation of all descriptors in the ring in one attempt. At least one descriptor must remain unused in the HW ring. Fixes: 1173fca25af9 ("ena: add p