Searched refs:fipsec (Results 1 – 1 of 1) sorted by relevance
279 static inline bool is_v2_sadb_supported(struct mlx5_fpga_ipsec *fipsec) in is_v2_sadb_supported() argument281 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() local708 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() local839 mutex_lock(&fipsec->sa_hash_lock); in mlx5_fpga_ipsec_release_sa_ctx()[all …]