common/mlx5: adjust DevX mkey fields for crypto
authorDekel Peled <dekelp@nvidia.com>
Tue, 4 May 2021 17:54:51 +0000 (20:54 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 4 May 2021 20:41:45 +0000 (22:41 +0200)
commit0111a74e13dd0c8fd5cdb240965d9a9857a12ee9
tree050f6324c528c6fc50286bd9329d1430832d945b
parent178d8c506ec36b045ce802dda97ee7683e5a0c3d
common/mlx5: adjust DevX mkey fields for crypto

MKEY that will be used for crypto purposes must be created with
crypto_en and remote access attributes.
This patch adds support for them in the DevX MKEY context.

Signed-off-by: Dekel Peled <dekelp@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/common/mlx5/mlx5_devx_cmds.c
drivers/common/mlx5/mlx5_devx_cmds.h
drivers/common/mlx5/mlx5_prm.h