Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c69 struct mlx5_fpga_esp_xfrm *fpga_xfrm; member
672 struct mlx5_fpga_esp_xfrm *fpga_xfrm = in mlx5_fpga_ipsec_create_sa_ctx() local
673 container_of(accel_xfrm, typeof(*fpga_xfrm), in mlx5_fpga_ipsec_create_sa_ctx()
692 mutex_lock(&fpga_xfrm->lock); in mlx5_fpga_ipsec_create_sa_ctx()
694 if (fpga_xfrm->sa_ctx) { /* multiple rules for same accel_xfrm */ in mlx5_fpga_ipsec_create_sa_ctx()
696 if (memcmp(&sa_ctx->hw_sa, &fpga_xfrm->sa_ctx->hw_sa, in mlx5_fpga_ipsec_create_sa_ctx()
702 ++fpga_xfrm->num_rules; in mlx5_fpga_ipsec_create_sa_ctx()
703 context = fpga_xfrm->sa_ctx; in mlx5_fpga_ipsec_create_sa_ctx()
734 ++fpga_xfrm->num_rules; in mlx5_fpga_ipsec_create_sa_ctx()
735 fpga_xfrm->sa_ctx = sa_ctx; in mlx5_fpga_ipsec_create_sa_ctx()
[all …]