Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c459 const struct mlx5_accel_esp_xfrm_attrs *xfrm_attrs, in mlx5_fpga_ipsec_build_hw_xfrm() argument
462 const struct aes_gcm_keymat *aes_gcm = &xfrm_attrs->keymat.aes_gcm; in mlx5_fpga_ipsec_build_hw_xfrm()
479 if (xfrm_attrs->flags & MLX5_ACCEL_ESP_FLAGS_ESN_TRIGGERED) { in mlx5_fpga_ipsec_build_hw_xfrm()
482 (xfrm_attrs->flags & in mlx5_fpga_ipsec_build_hw_xfrm()
485 hw_sa->esn = htonl(xfrm_attrs->esn); in mlx5_fpga_ipsec_build_hw_xfrm()
489 ~(xfrm_attrs->flags & in mlx5_fpga_ipsec_build_hw_xfrm()
496 hw_sa->ipsec_sa_v1.sw_sa_handle = htonl(xfrm_attrs->sa_handle); in mlx5_fpga_ipsec_build_hw_xfrm()
515 if (xfrm_attrs->action & MLX5_ACCEL_ESP_ACTION_ENCRYPT) in mlx5_fpga_ipsec_build_hw_xfrm()
523 struct mlx5_accel_esp_xfrm_attrs *xfrm_attrs, in mlx5_fpga_ipsec_build_hw_sa() argument
529 mlx5_fpga_ipsec_build_hw_xfrm(mdev, xfrm_attrs, hw_sa); in mlx5_fpga_ipsec_build_hw_sa()