Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dipsec.c67 struct mlx5_ifc_fpga_ipsec_sa hw_sa; member
90 .key_len = FIELD_SIZEOF(struct mlx5_fpga_ipsec_sa_ctx, hw_sa) -
92 .key_offset = offsetof(struct mlx5_fpga_ipsec_sa_ctx, hw_sa) +
287 struct mlx5_ifc_fpga_ipsec_sa *hw_sa, in mlx5_fpga_ipsec_update_hw_sa() argument
296 hw_sa->ipsec_sa_v1.cmd = htonl(opcode); in mlx5_fpga_ipsec_update_hw_sa()
298 sa_cmd_size = sizeof(*hw_sa); in mlx5_fpga_ipsec_update_hw_sa()
300 sa_cmd_size = sizeof(hw_sa->ipsec_sa_v1); in mlx5_fpga_ipsec_update_hw_sa()
303 mlx5_fpga_ipsec_cmd_exec(dev, hw_sa, sa_cmd_size); in mlx5_fpga_ipsec_update_hw_sa()
460 struct mlx5_ifc_fpga_ipsec_sa *hw_sa) in mlx5_fpga_ipsec_build_hw_xfrm() argument
465 memcpy(&hw_sa->ipsec_sa_v1.key_enc, aes_gcm->aes_key, in mlx5_fpga_ipsec_build_hw_xfrm()
[all …]