Home
last modified time | relevance | path

Searched refs:dek_priv (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dcrypto.c290 struct mlx5_crypto_dek_priv *dek_priv = pool->mdev->mlx5e_res.dek_priv; in mlx5_crypto_dek_bulk_create() local
300 num_deks = 1 << dek_priv->log_dek_obj_range; in mlx5_crypto_dek_bulk_create()
314 dek_priv->log_dek_obj_range, in mlx5_crypto_dek_bulk_create()
606 struct mlx5_crypto_dek_priv *dek_priv = dek_pool->mdev->mlx5e_res.dek_priv; in mlx5_crypto_dek_create() local
618 if (!dek_priv) { in mlx5_crypto_dek_create()
651 struct mlx5_crypto_dek_priv *dek_priv = dek_pool->mdev->mlx5e_res.dek_priv; in mlx5_crypto_dek_destroy() local
654 if (!dek_priv) { in mlx5_crypto_dek_destroy()
735 void mlx5_crypto_dek_cleanup(struct mlx5_crypto_dek_priv *dek_priv) in mlx5_crypto_dek_cleanup() argument
737 if (!dek_priv) in mlx5_crypto_dek_cleanup()
740 kfree(dek_priv); in mlx5_crypto_dek_cleanup()
[all …]
Dcrypto.h33 void mlx5_crypto_dek_cleanup(struct mlx5_crypto_dek_priv *dek_priv);
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_common.c109 mdev->mlx5e_res.dek_priv = mlx5_crypto_dek_init(mdev); in mlx5e_create_mdev_resources()
110 if (IS_ERR(mdev->mlx5e_res.dek_priv)) { in mlx5e_create_mdev_resources()
112 PTR_ERR(mdev->mlx5e_res.dek_priv)); in mlx5e_create_mdev_resources()
113 mdev->mlx5e_res.dek_priv = NULL; in mlx5e_create_mdev_resources()
131 mlx5_crypto_dek_cleanup(mdev->mlx5e_res.dek_priv); in mlx5e_destroy_mdev_resources()
132 mdev->mlx5e_res.dek_priv = NULL; in mlx5e_destroy_mdev_resources()
/linux-6.6.21/include/linux/mlx5/
Ddriver.h680 struct mlx5_crypto_dek_priv *dek_priv; member