Searched refs:fpga_xfrm (Results 1 – 1 of 1) sorted by relevance
69 struct mlx5_fpga_esp_xfrm *fpga_xfrm; member665 struct mlx5_fpga_esp_xfrm *fpga_xfrm = in mlx5_fpga_ipsec_create_sa_ctx() local666 container_of(accel_xfrm, typeof(*fpga_xfrm), in mlx5_fpga_ipsec_create_sa_ctx()685 mutex_lock(&fpga_xfrm->lock); in mlx5_fpga_ipsec_create_sa_ctx()687 if (fpga_xfrm->sa_ctx) { /* multiple rules for same accel_xfrm */ in mlx5_fpga_ipsec_create_sa_ctx()689 if (memcmp(&sa_ctx->hw_sa, &fpga_xfrm->sa_ctx->hw_sa, in mlx5_fpga_ipsec_create_sa_ctx()695 ++fpga_xfrm->num_rules; in mlx5_fpga_ipsec_create_sa_ctx()696 context = fpga_xfrm->sa_ctx; in mlx5_fpga_ipsec_create_sa_ctx()727 ++fpga_xfrm->num_rules; in mlx5_fpga_ipsec_create_sa_ctx()728 fpga_xfrm->sa_ctx = sa_ctx; in mlx5_fpga_ipsec_create_sa_ctx()[all …]