Home
last modified time | relevance | path

Searched defs:sa_entry (Results 1 – 8 of 8) sorted by relevance

/linux-6.8/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_offload.c139 static int mlx5_create_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_create_ipsec_obj()
186 static void mlx5_destroy_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_destroy_ipsec_obj()
201 int mlx5_ipsec_create_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_ipsec_create_sa_ctx()
230 void mlx5_ipsec_free_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_ipsec_free_sa_ctx()
238 static int mlx5_modify_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5_modify_ipsec_obj()
285 void mlx5_accel_esp_modify_xfrm(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5_accel_esp_modify_xfrm()
297 static void mlx5e_ipsec_aso_update(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_aso_update()
307 static void mlx5e_ipsec_update_esn_state(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_update_esn_state()
341 static void mlx5e_ipsec_aso_update_hard(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_ipsec_aso_update_hard()
352 static void mlx5e_ipsec_aso_update_soft(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_aso_update_soft()
[all …]
Dipsec.c63 struct mlx5e_ipsec_sa_entry *sa_entry = dwork->sa_entry; in mlx5e_ipsec_handle_sw_limits() local
84 static bool mlx5e_ipsec_update_esn_state(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_ipsec_update_esn_state()
146 static void mlx5e_ipsec_init_limits(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_init_limits()
259 static void mlx5e_ipsec_init_macs(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_init_macs()
307 void mlx5e_ipsec_build_accel_xfrm_attrs(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_build_accel_xfrm_attrs()
558 struct mlx5e_ipsec_sa_entry *sa_entry = work->sa_entry; in mlx5e_ipsec_modify_state() local
566 static void mlx5e_ipsec_set_esn_ops(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_ipsec_set_esn_ops()
586 struct mlx5e_ipsec_sa_entry *sa_entry = work->sa_entry; in mlx5e_ipsec_handle_netdev_event() local
606 static int mlx5_ipsec_create_work(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_ipsec_create_work()
659 static int mlx5e_ipsec_create_dwork(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_ipsec_create_dwork()
[all …]
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()
1580 static int rx_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in rx_add_rule()
1699 static int tx_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in tx_add_rule()
2148 int mlx5e_accel_ipsec_fs_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_accel_ipsec_fs_add_rule()
2174 void mlx5e_accel_ipsec_fs_del_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_accel_ipsec_fs_del_rule()
2360 void mlx5e_accel_ipsec_fs_modify(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_accel_ipsec_fs_modify()
2376 bool mlx5e_ipsec_fs_tunnel_enabled(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_ipsec_fs_tunnel_enabled()
Dipsec_rxtx.c267 struct mlx5e_ipsec_sa_entry *sa_entry; in mlx5e_ipsec_handle_tx_skb() local
319 struct mlx5e_ipsec_sa_entry *sa_entry; in mlx5e_ipsec_offload_handle_rx_skb() local
Dipsec.h152 struct mlx5e_ipsec_sa_entry *sa_entry; member
162 struct mlx5e_ipsec_sa_entry *sa_entry; member
342 mlx5e_ipsec_sa2dev(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_ipsec_sa2dev()
/linux-6.8/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c142 struct ipsec_sa_entry *sa_entry) in ch_ipsec_setauthsize()
166 struct ipsec_sa_entry *sa_entry) in ch_ipsec_setkey()
231 struct ipsec_sa_entry *sa_entry; in ch_ipsec_xfrm_add_state() local
316 struct ipsec_sa_entry *sa_entry; in ch_ipsec_xfrm_free_state() local
348 struct ipsec_sa_entry *sa_entry) in is_eth_imm()
367 struct ipsec_sa_entry *sa_entry, in calc_tx_sec_flits()
412 struct ipsec_sa_entry *sa_entry) in copy_esn_pktxt()
466 struct ipsec_sa_entry *sa_entry) in copy_cpltx_pktxt()
510 struct ipsec_sa_entry *sa_entry) in copy_key_cpltx_pktxt()
559 struct ipsec_sa_entry *sa_entry) in ch_ipsec_crypto_wreq()
[all …]
/linux-6.8/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dipsec_fs.h33 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()