[dpdk-stable] [PATCH 1/2] net/ena: fix Rx descriptors allocation

Yuanhan Liu yuanhan.liu at linux.intel.com
Sun May 21 12:35:38 CEST 2017


On Thu, May 18, 2017 at 05:41:50PM +0200, Michal Krawczyk wrote:
> [ backported from upstream commit a467e8f37a3eec98210c0c3ec04bf6e9506ddd81 ]

Thanks for the backport, both applied to dpdk-stable/16.11.

	--yliu

> 
> 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 polling-mode driver")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Michal Krawczyk <mk at semihalf.com>
> Reviewed-by: Jakub Palider <jpalider at gmail.com>
> Acked-by: Jan Medala <jan.medala at outlook.com>


More information about the stable mailing list