numam-dpdk/drivers/vdpa/mlx5
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
..
Makefile common/mlx5: register class drivers through common layer 2020-07-28 19:01:30 +02:00
meson.build common/mlx5: register class drivers through common layer 2020-07-28 19:01:30 +02:00
mlx5_vdpa_event.c vdpa/mlx5: fix completion queue initialization 2020-07-30 00:41:23 +02:00
mlx5_vdpa_lm.c vdpa/mlx5: fix live migration termination 2020-07-30 00:41:23 +02:00
mlx5_vdpa_mem.c vdpa/mlx5: adjust virtio queue protection domain 2020-06-30 14:52:29 +02:00
mlx5_vdpa_steer.c vdpa/mlx5: fix compatibility with MISC4 2020-07-30 00:41:23 +02:00
mlx5_vdpa_utils.h vdpa/mlx5: introduce Mellanox vDPA driver 2020-02-05 09:51:21 +01:00
mlx5_vdpa_virtq.c vdpa/mlx5: fix steering update in virtq unset 2020-07-30 00:41:23 +02:00
mlx5_vdpa.c common/mlx5: remove class check from class drivers 2020-07-28 19:01:30 +02:00
mlx5_vdpa.h vdpa/mlx5: support queue update 2020-06-30 14:52:31 +02:00
rte_pmd_mlx5_vdpa_version.map version: reference next ABI 21 for recent additions 2020-05-05 00:25:34 +02:00