Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c70 struct mlx5_fpga_esp_xfrm *fpga_xfrm; member
674 struct mlx5_fpga_esp_xfrm *fpga_xfrm = in mlx5_fpga_ipsec_create_sa_ctx() local
675 container_of(accel_xfrm, typeof(*fpga_xfrm), in mlx5_fpga_ipsec_create_sa_ctx()
694 mutex_lock(&fpga_xfrm->lock); in mlx5_fpga_ipsec_create_sa_ctx()
696 if (fpga_xfrm->sa_ctx) { /* multiple rules for same accel_xfrm */ in mlx5_fpga_ipsec_create_sa_ctx()
698 if (memcmp(&sa_ctx->hw_sa, &fpga_xfrm->sa_ctx->hw_sa, in mlx5_fpga_ipsec_create_sa_ctx()
704 ++fpga_xfrm->num_rules; in mlx5_fpga_ipsec_create_sa_ctx()
705 context = fpga_xfrm->sa_ctx; in mlx5_fpga_ipsec_create_sa_ctx()
747 ++fpga_xfrm->num_rules; in mlx5_fpga_ipsec_create_sa_ctx()
748 fpga_xfrm->sa_ctx = sa_ctx; in mlx5_fpga_ipsec_create_sa_ctx()
[all …]