Searched refs:dek (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | crypto.c | 85 u32 mlx5_crypto_dek_get_id(struct mlx5_crypto_dek *dek) in mlx5_crypto_dek_get_id() argument 87 return dek->obj_id; in mlx5_crypto_dek_get_id() 427 struct mlx5_crypto_dek *dek) in mlx5_crypto_dek_free_locked() argument 429 struct mlx5_crypto_dek_bulk *bulk = dek->bulk; in mlx5_crypto_dek_free_locked() 434 obj_offset = dek->obj_id - bulk->base_obj_id; in mlx5_crypto_dek_free_locked() 450 kfree(dek); in mlx5_crypto_dek_free_locked() 455 struct mlx5_crypto_dek *dek) in mlx5_crypto_dek_pool_push() argument 461 list_add(&dek->entry, &pool->wait_for_free); in mlx5_crypto_dek_pool_push() 463 err = mlx5_crypto_dek_free_locked(pool, dek); in mlx5_crypto_dek_pool_push() 535 struct mlx5_crypto_dek *dek, *next; in mlx5_crypto_dek_pool_free_wait_keys() local [all …]
|
H A D | crypto.h | 29 struct mlx5_crypto_dek *dek); 30 u32 mlx5_crypto_dek_get_id(struct mlx5_crypto_dek *dek);
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls_rx.c | 53 struct mlx5_crypto_dek *dek; member 151 mlx5_crypto_dek_get_id(priv_rx->dek), in post_static_params() 612 struct mlx5_crypto_dek *dek; in mlx5e_ktls_add_rx() local 638 dek = mlx5_ktls_create_key(priv->tls->dek_pool, crypto_info); in mlx5e_ktls_add_rx() 639 if (IS_ERR(dek)) { in mlx5e_ktls_add_rx() 640 err = PTR_ERR(dek); in mlx5e_ktls_add_rx() 643 priv_rx->dek = dek; in mlx5e_ktls_add_rx() 679 mlx5_ktls_destroy_key(priv->tls->dek_pool, priv_rx->dek); in mlx5e_ktls_add_rx() 711 mlx5_ktls_destroy_key(priv->tls->dek_pool, priv_rx->dek); in mlx5e_ktls_del_rx()
|
H A D | ktls_tx.c | 101 struct mlx5_crypto_dek *dek; member 460 struct mlx5_crypto_dek *dek; in mlx5e_ktls_add_tx() local 488 dek = mlx5_ktls_create_key(priv->tls->dek_pool, crypto_info); in mlx5e_ktls_add_tx() 489 if (IS_ERR(dek)) { in mlx5e_ktls_add_tx() 490 err = PTR_ERR(dek); in mlx5e_ktls_add_tx() 494 priv_tx->dek = dek; in mlx5e_ktls_add_tx() 521 mlx5_ktls_destroy_key(priv->tls->dek_pool, priv_tx->dek); in mlx5e_ktls_del_tx() 561 mlx5_crypto_dek_get_id(priv_tx->dek), in post_static_params()
|
H A D | ktls.c | 43 struct mlx5_crypto_dek *dek) in mlx5_ktls_destroy_key() argument 45 mlx5_crypto_dek_destroy(dek_pool, dek); in mlx5_ktls_destroy_key()
|
H A D | ktls.h | 19 struct mlx5_crypto_dek *dek);
|