Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c462 const struct mlx5_accel_esp_xfrm_attrs *xfrm_attrs, in mlx5_fpga_ipsec_build_hw_xfrm() argument
465 const struct aes_gcm_keymat *aes_gcm = &xfrm_attrs->keymat.aes_gcm; in mlx5_fpga_ipsec_build_hw_xfrm()
482 if (xfrm_attrs->flags & MLX5_ACCEL_ESP_FLAGS_ESN_TRIGGERED) { in mlx5_fpga_ipsec_build_hw_xfrm()
485 (xfrm_attrs->flags & in mlx5_fpga_ipsec_build_hw_xfrm()
488 hw_sa->esn = htonl(xfrm_attrs->esn); in mlx5_fpga_ipsec_build_hw_xfrm()
492 ~(xfrm_attrs->flags & in mlx5_fpga_ipsec_build_hw_xfrm()
499 hw_sa->ipsec_sa_v1.sw_sa_handle = htonl(xfrm_attrs->sa_handle); in mlx5_fpga_ipsec_build_hw_xfrm()
518 if (xfrm_attrs->action & MLX5_ACCEL_ESP_ACTION_ENCRYPT) in mlx5_fpga_ipsec_build_hw_xfrm()
526 struct mlx5_accel_esp_xfrm_attrs *xfrm_attrs, in mlx5_fpga_ipsec_build_hw_sa() argument
532 mlx5_fpga_ipsec_build_hw_xfrm(mdev, xfrm_attrs, hw_sa); in mlx5_fpga_ipsec_build_hw_sa()
/drivers/net/ethernet/mellanox/mlx5/core/accel/
Dipsec_offload.c211 struct mlx5_accel_esp_xfrm_attrs *xfrm_attrs = &accel_xfrm->attrs; in mlx5_ipsec_offload_create_sa_ctx() local
212 struct aes_gcm_keymat *aes_gcm = &xfrm_attrs->keymat.aes_gcm; in mlx5_ipsec_offload_create_sa_ctx()