numam-dpdk/drivers/vdpa
Xueming Li b887250ba8 vdpa/mlx5: fix completion queue initialization
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: 79a7e409a2 ("common/mlx5: prepare support of packet pacing")

Signed-off-by: Xueming Li <xuemingl@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-07-30 00:41:23 +02:00
..
ifc vdpa/ifc: enable status protocol feature 2020-07-11 06:18:52 +02:00
mlx5 vdpa/mlx5: fix completion queue initialization 2020-07-30 00:41:23 +02:00
Makefile vdpa/mlx5: introduce Mellanox vDPA driver 2020-02-05 09:51:21 +01:00
meson.build bus/pci: introduce Windows support with stubs 2020-06-30 00:02:54 +02:00