Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c279 static inline bool is_v2_sadb_supported(struct mlx5_fpga_ipsec *fipsec) in is_v2_sadb_supported() argument
281 if (MLX5_GET(ipsec_extended_cap, fipsec->caps, v2_command)) in is_v2_sadb_supported()
676 struct mlx5_fpga_ipsec *fipsec = fdev->ipsec; in mlx5_fpga_ipsec_create_sa_ctx() local
708 mutex_lock(&fipsec->sa_hash_lock); in mlx5_fpga_ipsec_create_sa_ctx()
710 err = rhashtable_lookup_insert_fast(&fipsec->sa_hash, &sa_ctx->hash, in mlx5_fpga_ipsec_create_sa_ctx()
732 mutex_unlock(&fipsec->sa_hash_lock); in mlx5_fpga_ipsec_create_sa_ctx()
743 WARN_ON(rhashtable_remove_fast(&fipsec->sa_hash, &sa_ctx->hash, in mlx5_fpga_ipsec_create_sa_ctx()
746 mutex_unlock(&fipsec->sa_hash_lock); in mlx5_fpga_ipsec_create_sa_ctx()
826 struct mlx5_fpga_ipsec *fipsec = fdev->ipsec; in mlx5_fpga_ipsec_release_sa_ctx() local
839 mutex_lock(&fipsec->sa_hash_lock); in mlx5_fpga_ipsec_release_sa_ctx()
[all …]