Searched refs:mlx5e_ipsec_sa_entry (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | ipsec_fs.h | 8 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); 23 void mlx5_esw_ipsec_rx_rule_add_match_obj(struct mlx5e_ipsec_sa_entry *sa_entry, 35 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() 41 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() 54 mlx5_esw_ipsec_rx_rule_add_match_obj(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5_esw_ipsec_rx_rule_add_match_obj()
|
H A D | ipsec_fs.c | 43 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_rule_add_match_obj(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5_esw_ipsec_rx_rule_add_match_obj() 101 void mlx5_esw_ipsec_rx_id_mapping_remove(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_esw_ipsec_rx_id_mapping_remove()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec.h | 161 struct mlx5e_ipsec_sa_entry *sa_entry; 171 struct mlx5e_ipsec_sa_entry *sa_entry; 274 struct mlx5e_ipsec_sa_entry { struct 316 int mlx5e_accel_ipsec_fs_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry); 317 void mlx5e_accel_ipsec_fs_del_rule(struct mlx5e_ipsec_sa_entry *sa_entry); 320 void mlx5e_accel_ipsec_fs_modify(struct mlx5e_ipsec_sa_entry *sa_entry); 321 bool mlx5e_ipsec_fs_tunnel_enabled(struct mlx5e_ipsec_sa_entry *sa_entry); 323 int mlx5_ipsec_create_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry); 324 void mlx5_ipsec_free_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry); 328 void mlx5_accel_esp_modify_xfrm(struct mlx5e_ipsec_sa_entry *sa_entr 275 esn_statemlx5e_ipsec_sa_entry global() argument 276 xmlx5e_ipsec_sa_entry global() argument 277 devmlx5e_ipsec_sa_entry global() argument 278 ipsecmlx5e_ipsec_sa_entry global() argument 279 attrsmlx5e_ipsec_sa_entry global() argument 280 set_iv_opmlx5e_ipsec_sa_entry global() argument 282 ipsec_obj_idmlx5e_ipsec_sa_entry global() argument 283 enc_key_idmlx5e_ipsec_sa_entry global() argument 284 ipsec_rulemlx5e_ipsec_sa_entry global() argument 285 workmlx5e_ipsec_sa_entry global() argument 286 dworkmlx5e_ipsec_sa_entry global() argument 287 limitsmlx5e_ipsec_sa_entry global() argument 288 rx_mapped_idmlx5e_ipsec_sa_entry global() argument [all...] |
H A D | ipsec_offload.c | 93 struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_ipsec_packet_setup() 145 static int mlx5_create_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_create_ipsec_obj() 192 static void mlx5_destroy_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_destroy_ipsec_obj() 207 int mlx5_ipsec_create_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_ipsec_create_sa_ctx() 236 void mlx5_ipsec_free_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_ipsec_free_sa_ctx() 244 static int mlx5_modify_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5_modify_ipsec_obj() 291 void mlx5_accel_esp_modify_xfrm(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5_accel_esp_modify_xfrm() 303 static void mlx5e_ipsec_aso_update(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_aso_update() 313 static void mlx5e_ipsec_update_esn_state(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_update_esn_state() 347 static void mlx5e_ipsec_aso_update_hard(struct mlx5e_ipsec_sa_entry *sa_entr [all...] |
H A D | ipsec.c | 50 static struct mlx5e_ipsec_sa_entry *to_ipsec_sa_entry(struct xfrm_state *x) in to_ipsec_sa_entry() 52 return (struct mlx5e_ipsec_sa_entry *)x->xso.offload_handle; in to_ipsec_sa_entry() 64 struct mlx5e_ipsec_sa_entry *sa_entry = dwork->sa_entry; in mlx5e_ipsec_handle_sw_limits() 91 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() 391 void mlx5e_ipsec_build_accel_xfrm_attrs(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_build_accel_xfrm_attrs() 645 struct mlx5e_ipsec_sa_entry *sa_entry = work->sa_entry; in mlx5e_ipsec_modify_state() 648 attrs = &((struct mlx5e_ipsec_sa_entry *)work->data)->attrs; in mlx5e_ipsec_modify_state() 653 static void mlx5e_ipsec_set_esn_ops(struct mlx5e_ipsec_sa_entry *sa_entr [all...] |
H A D | ipsec_rxtx.c | 267 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()
|
H A D | ipsec_fs.c | 178 static void ipsec_rx_rule_add_match_obj(struct mlx5e_ipsec_sa_entry *sa_entry, in ipsec_rx_rule_add_match_obj() 197 static int rx_add_rule_drop_auth_trailer(struct mlx5e_ipsec_sa_entry *sa_entry, in rx_add_rule_drop_auth_trailer() 277 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() 1924 static int rx_add_rule_sa_selector(struct mlx5e_ipsec_sa_entry *sa_entry, in rx_add_rule_sa_selector() 2003 static int rx_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in rx_add_rule() 2133 static int tx_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in tx_add_rule() 2589 int mlx5e_accel_ipsec_fs_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_accel_ipsec_fs_add_rule() 2615 void mlx5e_accel_ipsec_fs_del_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_accel_ipsec_fs_del_rule() 2808 void mlx5e_accel_ipsec_fs_modify(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_accel_ipsec_fs_modify() 2810 struct mlx5e_ipsec_sa_entry sa_entry_shado in mlx5e_accel_ipsec_fs_modify() [all...] |