Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c974 struct mlx5e_ipsec_sa_entry *sa_entry_shadow; in mlx5e_xfrm_advance_esn_state() local
981 sa_entry_shadow = work->data; in mlx5e_xfrm_advance_esn_state()
982 memset(sa_entry_shadow, 0x00, sizeof(*sa_entry_shadow)); in mlx5e_xfrm_advance_esn_state()
983 mlx5e_ipsec_build_accel_xfrm_attrs(sa_entry, &sa_entry_shadow->attrs); in mlx5e_xfrm_advance_esn_state()
H A Dipsec_fs.c2070 struct mlx5e_ipsec_sa_entry sa_entry_shadow = {}; in mlx5e_accel_ipsec_fs_modify() local
2073 memcpy(&sa_entry_shadow, sa_entry, sizeof(*sa_entry)); in mlx5e_accel_ipsec_fs_modify()
2074 memset(&sa_entry_shadow.ipsec_rule, 0x00, sizeof(sa_entry->ipsec_rule)); in mlx5e_accel_ipsec_fs_modify()
2076 err = mlx5e_accel_ipsec_fs_add_rule(&sa_entry_shadow); in mlx5e_accel_ipsec_fs_modify()
2081 memcpy(sa_entry, &sa_entry_shadow, sizeof(*sa_entry)); in mlx5e_accel_ipsec_fs_modify()