Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx5/mlx5_accel/
H A Dipsec.h59 struct mlx5e_ipsec_sa_entry *priv_in;
60 struct mlx5e_ipsec_sa_entry *priv_out;
65 struct mlx5e_ipsec_sa_entry *sa_entry;
71 struct mlx5e_ipsec_sa_entry *sa_entry;
154 struct mlx5e_ipsec_sa_entry { struct
213 int mlx5_ipsec_create_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry);
214 void mlx5_ipsec_free_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry);
219 mlx5e_ipsec_sa2dev(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_ipsec_sa2dev()
230 void mlx5e_ipsec_build_accel_xfrm_attrs(struct mlx5e_ipsec_sa_entry *sa_entry,
236 int mlx5e_accel_ipsec_fs_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry);
[all …]
H A Dmlx5_ipsec_offload.c133 static int mlx5_create_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_create_ipsec_obj()
179 static void mlx5_destroy_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_destroy_ipsec_obj()
194 int mlx5_ipsec_create_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_ipsec_create_sa_ctx()
224 void mlx5_ipsec_free_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_ipsec_free_sa_ctx()
250 static int mlx5e_ipsec_aso_query(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_aso_query()
289 static int mlx5_modify_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5_modify_ipsec_obj()
336 static void mlx5_accel_esp_modify_xfrm(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5_accel_esp_modify_xfrm()
348 static void mlx5e_ipsec_aso_update(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_aso_update()
359 static void mlx5e_ipsec_update_esn_state(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_update_esn_state()
387 struct mlx5e_ipsec_sa_entry *sa_entry = work->data; in mlx5e_ipsec_handle_event()
[all …]
H A Dmlx5_ipsec.c53 static struct mlx5e_ipsec_sa_entry *to_ipsec_sa_entry(void *x) in to_ipsec_sa_entry()
55 return (struct mlx5e_ipsec_sa_entry *)x; in to_ipsec_sa_entry()
64 mlx5e_ipsec_handle_counters_onedir(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_handle_counters_onedir()
73 static struct mlx5e_ipsec_sa_entry *
75 struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_ipsec_other_sa_entry()
85 struct mlx5e_ipsec_sa_entry *sa_entry = dwork->sa_entry; in mlx5e_ipsec_handle_counters()
86 struct mlx5e_ipsec_sa_entry *other_sa_entry; in mlx5e_ipsec_handle_counters()
110 mlx5e_ipsec_create_dwork(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_create_dwork()
153 void mlx5e_ipsec_build_accel_xfrm_attrs(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_build_accel_xfrm_attrs()
328 struct mlx5e_ipsec_sa_entry **privp, struct mlx5e_ipsec_priv_bothdir *pb, in mlx5e_if_sa_newkey_onedir()
[all …]
H A Dmlx5_ipsec_fs.c518 static int rx_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in rx_add_rule()
1118 static int tx_add_kspi_rule(struct mlx5e_ipsec_sa_entry *sa_entry, in tx_add_kspi_rule()
1152 static int tx_add_reqid_ip_rules(struct mlx5e_ipsec_sa_entry *sa_entry, in tx_add_reqid_ip_rules()
1207 static int tx_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in tx_add_rule()
2038 int mlx5e_accel_ipsec_fs_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_accel_ipsec_fs_add_rule()
2046 void mlx5e_accel_ipsec_fs_del_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_accel_ipsec_fs_del_rule()
2257 void mlx5e_accel_ipsec_fs_modify(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_accel_ipsec_fs_modify()
2259 struct mlx5e_ipsec_sa_entry sa_entry_shadow = {}; in mlx5e_accel_ipsec_fs_modify()