numam-dpdk/drivers
Shiri Kuzin debb27ea34 crypto/mlx5: create login object using DevX
To work with crypto engines that are marked with wrapped_import_method,
a login session is required.
A crypto login object needs to be created using DevX.

The crypto login object contains:
	- The credential pointer.
	- The import_KEK pointer to be used for all secured information
	  communicated in crypto commands (key fields), including the
	  provided credential in this command.
	- The credential secret, wrapped by the import_KEK indicated in
	  this command. Size includes 8 bytes IV for wrapping.

Added devargs for the required login values:
	- wcs_file - path to the file containing the credential.
	- import_kek_id - the import KEK pointer.
	- credential_id - the credential pointer.

Create the login DevX object in pci_probe function and destroy it in
pci_remove.
Destroying the crypto login object means logout.

Signed-off-by: Shiri Kuzin <shirik@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
2021-07-20 22:27:00 +02:00
..
baseband log: register with standardized names 2021-05-11 15:17:55 +02:00
bus bus/pci: fix leak for unbound devices 2021-07-06 11:27:55 +02:00
common crypto/mlx5: introduce Mellanox crypto driver 2021-07-20 21:45:58 +02:00
compress compress/isal: support Arm platform 2021-07-20 10:32:05 +02:00
crypto crypto/mlx5: create login object using DevX 2021-07-20 22:27:00 +02:00
event event/cnxk: support vectorized Tx event fast path 2021-07-16 14:16:50 +02:00
mempool mempool/octeontx2: fix shift calculation 2021-06-30 18:42:54 +02:00
net net/octeontx2: clear SA valid during session destroy 2021-07-20 10:32:05 +02:00
raw raw/ioat: fix termination descriptor for batch 2021-07-20 15:28:43 +02:00
regex log: register with standardized names 2021-05-11 15:17:55 +02:00
vdpa net/mlx5: support matching on VXLAN reserved field 2021-07-13 15:06:43 +02:00
meson.build log: register with standardized names 2021-05-11 15:17:55 +02:00