common/mlx5: support general object KEK import
authorDekel Peled <dekelp@nvidia.com>
Tue, 4 May 2021 17:54:52 +0000 (20:54 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 4 May 2021 20:41:47 +0000 (22:41 +0200)
commit21ca2494ac6cf5e98b5d107efdefad1de6774583
treeda578b86fd066aa275225a82ed80b4737a163e7e
parent0111a74e13dd0c8fd5cdb240965d9a9857a12ee9
common/mlx5: support general object KEK import

IMPORT_KEK object is used to wrap (encrypt) critical security
parameters, such as other keys and credentials, when those need
to be passed between the device and the software.

This patch add support of IMPORT_KEK object create operation.
Add reading of IMPORT_KEK support capability.
Add function to create general object type IMPORT_KEK, 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