Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c114 struct rhashtable sa_hash; /* hw_sa -> mlx5_fpga_ipsec_sa_ctx */ member
710 err = rhashtable_lookup_insert_fast(&fipsec->sa_hash, &sa_ctx->hash, 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()
840 WARN_ON(rhashtable_remove_fast(&fipsec->sa_hash, &sa_ctx->hash, in mlx5_fpga_ipsec_release_sa_ctx()
1286 err = rhashtable_init(&fdev->ipsec->sa_hash, &rhash_sa); in mlx5_fpga_ipsec_init()
1304 rhashtable_destroy(&fdev->ipsec->sa_hash); in mlx5_fpga_ipsec_init()
1334 rhashtable_destroy(&fdev->ipsec->sa_hash); in mlx5_fpga_ipsec_cleanup()
1503 WARN_ON(rhashtable_remove_fast(&fipsec->sa_hash, in mlx5_fpga_esp_modify_xfrm()
1509 err = rhashtable_insert_fast(&fipsec->sa_hash, in mlx5_fpga_esp_modify_xfrm()
1519 WARN_ON(rhashtable_remove_fast(&fipsec->sa_hash, in mlx5_fpga_esp_modify_xfrm()
[all …]