Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.h151 struct mlx5e_ipsec_sa_entry *sa_entry;
161 struct mlx5e_ipsec_sa_entry *sa_entry;
260 struct mlx5e_ipsec_sa_entry { struct
311 int mlx5e_accel_ipsec_fs_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry);
312 void mlx5e_accel_ipsec_fs_del_rule(struct mlx5e_ipsec_sa_entry *sa_entry);
315 void mlx5e_accel_ipsec_fs_modify(struct mlx5e_ipsec_sa_entry *sa_entry);
316 bool mlx5e_ipsec_fs_tunnel_enabled(struct mlx5e_ipsec_sa_entry *sa_entry);
318 int mlx5_ipsec_create_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry);
319 void mlx5_ipsec_free_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry);
323 void mlx5_accel_esp_modify_xfrm(struct mlx5e_ipsec_sa_entry *sa_entry,
[all …]
Dipsec_offload.c141 static int mlx5_create_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_create_ipsec_obj()
188 static void mlx5_destroy_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_destroy_ipsec_obj()
203 int mlx5_ipsec_create_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_ipsec_create_sa_ctx()
232 void mlx5_ipsec_free_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_ipsec_free_sa_ctx()
240 static int mlx5_modify_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5_modify_ipsec_obj()
287 void mlx5_accel_esp_modify_xfrm(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5_accel_esp_modify_xfrm()
299 static void mlx5e_ipsec_aso_update(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_aso_update()
309 static void mlx5e_ipsec_update_esn_state(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_update_esn_state()
343 static void mlx5e_ipsec_aso_update_hard(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_ipsec_aso_update_hard()
354 static void mlx5e_ipsec_aso_update_soft(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_aso_update_soft()
[all …]
Dipsec.c49 static struct mlx5e_ipsec_sa_entry *to_ipsec_sa_entry(struct xfrm_state *x) in to_ipsec_sa_entry()
51 return (struct mlx5e_ipsec_sa_entry *)x->xso.offload_handle; in to_ipsec_sa_entry()
63 struct mlx5e_ipsec_sa_entry *sa_entry = dwork->sa_entry; in mlx5e_ipsec_handle_sw_limits()
90 static bool mlx5e_ipsec_update_esn_state(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_ipsec_update_esn_state()
152 static void mlx5e_ipsec_init_limits(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_init_limits()
265 static void mlx5e_ipsec_init_macs(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_init_macs()
313 void mlx5e_ipsec_build_accel_xfrm_attrs(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_build_accel_xfrm_attrs()
564 struct mlx5e_ipsec_sa_entry *sa_entry = work->sa_entry; in mlx5e_ipsec_modify_state()
567 attrs = &((struct mlx5e_ipsec_sa_entry *)work->data)->attrs; in mlx5e_ipsec_modify_state()
572 static void mlx5e_ipsec_set_esn_ops(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_ipsec_set_esn_ops()
[all …]
Dipsec_rxtx.c267 struct mlx5e_ipsec_sa_entry *sa_entry; in mlx5e_ipsec_handle_tx_skb()
296 sa_entry = (struct mlx5e_ipsec_sa_entry *)x->xso.offload_handle; in mlx5e_ipsec_handle_tx_skb()
313 struct mlx5e_ipsec_sa_entry *sa_entry; in mlx5e_ipsec_offload_handle_rx_skb()
Dipsec_fs.c168 static int rx_add_rule_drop_auth_trailer(struct mlx5e_ipsec_sa_entry *sa_entry, in rx_add_rule_drop_auth_trailer()
251 static int rx_add_rule_drop_replay(struct mlx5e_ipsec_sa_entry *sa_entry, struct mlx5e_ipsec_rx *rx) in rx_add_rule_drop_replay()
1579 static int rx_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in rx_add_rule()
1698 static int tx_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in tx_add_rule()
2147 int mlx5e_accel_ipsec_fs_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_accel_ipsec_fs_add_rule()
2173 void mlx5e_accel_ipsec_fs_del_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_accel_ipsec_fs_del_rule()
2359 void mlx5e_accel_ipsec_fs_modify(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_accel_ipsec_fs_modify()
2361 struct mlx5e_ipsec_sa_entry sa_entry_shadow = {}; in mlx5e_accel_ipsec_fs_modify()
2375 bool mlx5e_ipsec_fs_tunnel_enabled(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_ipsec_fs_tunnel_enabled()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dipsec_fs.h8 struct mlx5e_ipsec_sa_entry;
15 int mlx5_esw_ipsec_rx_setup_modify_header(struct mlx5e_ipsec_sa_entry *sa_entry,
17 void mlx5_esw_ipsec_rx_id_mapping_remove(struct mlx5e_ipsec_sa_entry *sa_entry);
33 static inline int mlx5_esw_ipsec_rx_setup_modify_header(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5_esw_ipsec_rx_setup_modify_header()
39 static inline void mlx5_esw_ipsec_rx_id_mapping_remove(struct mlx5e_ipsec_sa_entry *sa_entry) {} in mlx5_esw_ipsec_rx_id_mapping_remove()
Dipsec_fs.c43 int mlx5_esw_ipsec_rx_setup_modify_header(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5_esw_ipsec_rx_setup_modify_header()
88 void mlx5_esw_ipsec_rx_id_mapping_remove(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_esw_ipsec_rx_id_mapping_remove()