Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dcrypto.c290 struct mlx5_crypto_dek_priv *dek_priv = pool->mdev->mlx5e_res.dek_priv; in mlx5_crypto_dek_bulk_create() local
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()
737 if (!dek_priv) in mlx5_crypto_dek_cleanup()
740 kfree(dek_priv); in mlx5_crypto_dek_cleanup()
751 dek_priv = kzalloc(sizeof(*dek_priv), GFP_KERNEL); in mlx5_crypto_dek_init()
752 if (!dek_priv) in mlx5_crypto_dek_init()
769 return dek_priv; in mlx5_crypto_dek_init()
[all …]
H A Dcrypto.h33 void mlx5_crypto_dek_cleanup(struct mlx5_crypto_dek_priv *dek_priv);
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()
/openbmc/linux/include/linux/mlx5/
H A Ddriver.h680 struct mlx5_crypto_dek_priv *dek_priv; member