| 8e196c08 | 20-Jul-2021 |
Suanming Mou <[email protected]> |
crypto/mlx5: support enqueue/dequeue operations
The crypto operations are done with the WQE set which contains one UMR WQE and one rdma write WQE. Most segments of the WQE set are initialized proper
crypto/mlx5: support enqueue/dequeue operations
The crypto operations are done with the WQE set which contains one UMR WQE and one rdma write WQE. Most segments of the WQE set are initialized properly during queue setup, only limited segments are initialized according to the crypto detail in the datapath process.
This commit adds the enqueue and dequeue operations and updates the WQE set segments accordingly.
Signed-off-by: Suanming Mou <[email protected]> Signed-off-by: Matan Azrad <[email protected]> Signed-off-by: Michael Baum <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
| 1004be3c | 20-Jul-2021 |
Shiri Kuzin <[email protected]> |
crypto/mlx5: support session operations
Sessions are used in symmetric transformations in order to prepare objects and data for packet processing stage.
A mlx5 session includes iv_offset, pointer t
crypto/mlx5: support session operations
Sessions are used in symmetric transformations in order to prepare objects and data for packet processing stage.
A mlx5 session includes iv_offset, pointer to mlx5_crypto_dek struct, bsf_size, bsf_p_type, block size index, encryption_order and encryption standard.
Implement the next session operations: mlx5_crypto_sym_session_get_size- returns the size of the mlx5 session struct. mlx5_crypto_sym_session_configure- prepares the DEK hash-list and saves all the session data. mlx5_crypto_sym_session_clear - destroys the DEK hash-list.
Signed-off-by: Shiri Kuzin <[email protected]> Acked-by: Matan Azrad <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|