[dpdk-dev] [PATCH] vdpa/mlx5: fix completion queue initialization

Maxime Coquelin maxime.coquelin at redhat.com
Tue Jul 28 17:49:44 CEST 2020



On 7/27/20 4:29 PM, Xueming Li wrote:
> Vdpa device failed to initialize 2nd VQ during setup. From FW syndrome,
> unsupported CQE size was specified in CQ initialization attributes.
> 
> The unsupported CQE size comes from uninitialized stack struct data, and
> the struct has new fields defined recently which are not initialized in
> vdpa code.
> 
> This patch initializes cq creation attributes with zero to avoid such
> random data.
> 
> Fixes: 79a7e409a2f6 ("common/mlx5: prepare support of packet pacing")
> Cc: viacheslavo at mellanox.com
> 
> Signed-off-by: Xueming Li <xuemingl at mellanox.com>
> Acked-by: Matan Azrad <matan at mellanox.com>


Applied to dpdk-next-virtio/master

Thanks,
Maxime



More information about the dev mailing list