common/mlx5: support general object crypto login
authorDekel Peled <dekelp@nvidia.com>
Tue, 4 May 2021 17:54:53 +0000 (20:54 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 4 May 2021 20:42:24 +0000 (22:42 +0200)
commit38e4780b2513e9eb3bc5702a5f22eafdd625c9b4
tree82d7ecf24de5ab248db10552c6c3a35d0508f4a2
parent21ca2494ac6cf5e98b5d107efdefad1de6774583
common/mlx5: support general object crypto login

CRYPTO_LOGIN Object is used to login to the device as crypto user
or crypto officer.
Required in order to perform any crypto related control operations.

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