numam-dpdk/drivers/vdpa
Shiri Kuzin 9f39076b71 common/mlx5: fix mkey attributes initialization
The crypto driver added new fields to the mkey attributes struct:
crypto_en and set_remote_rw.

The entire mkey struct was not initialized, only specific fields in it,
which caused the new added fields not to be initialized resulting in a
mkey creation error.

This is fixed by initializing the entire mkey attributes struct to 0
which will prevent this issue from reoccurring if any fields are added
to the mkey struct in the future.

Fixes: 0111a74e13 ("common/mlx5: adjust DevX mkey fields for crypto")

Signed-off-by: Shiri Kuzin <shirik@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-05-09 09:06:31 +02:00
..
ifc vdpa/ifc: set notify and vring relay thread names 2021-04-21 15:57:51 +02:00
mlx5 common/mlx5: fix mkey attributes initialization 2021-05-09 09:06:31 +02:00
meson.build drivers: clean up build lists 2021-04-21 12:37:55 +02:00