common/mlx5: add virtio queue protection domain
authorMatan Azrad <matan@mellanox.com>
Tue, 2 Jun 2020 15:51:43 +0000 (15:51 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 30 Jun 2020 12:52:29 +0000 (14:52 +0200)
commit473d8e67d8819b50f1673b82747d7671f5946e5c
tree8cfb80900e34793c619994853a15964a9d793f4d
parent6505865aa8ed15632a23da3466a1a24076d357c0
common/mlx5: add virtio queue protection domain

Starting from FW version 22.27.4002, it is required to
configure protection domain (PD) for each virtq created by
DevX.

Add PD requirement in virtq DevX APIs.

Cc: stable@dpdk.org
Signed-off-by: Matan Azrad <matan@mellanox.com>
Signed-off-by: Xueming Li <xuemingl@mellanox.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/common/mlx5/mlx5_devx_cmds.c
drivers/common/mlx5/mlx5_devx_cmds.h
drivers/common/mlx5/mlx5_prm.h