common/mlx5: support general object credential
authorDekel Peled <dekelp@nvidia.com>
Tue, 4 May 2021 17:54:57 +0000 (20:54 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 4 May 2021 20:49:37 +0000 (22:49 +0200)
commitabda4fd9bbd5bc9616dc2085888f8cc6e84bdf8c
treed757d555c1415c219dc95129cff9a5729a8330b8
parentc31f3f7f7b5619d3cc3d3334412de19a1b643fbe
common/mlx5: support general object credential

CREDENTIAL object is used for any crypto operation in wrapped mode.

This patch add support of CREDENTIAL object create operation.
Add reading of CREDENTIAL support capability.
Add function to create general object type CREDENTIAL, using DevX API.

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
drivers/common/mlx5/version.map