/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | ipsec_fs.h | 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() argument 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() argument
|
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() argument 88 void mlx5_esw_ipsec_rx_id_mapping_remove(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_esw_ipsec_rx_id_mapping_remove() argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec.c | 63 struct mlx5e_ipsec_sa_entry *sa_entry; in mlx5e_ipsec_sadb_rx_lookup() local 78 static int mlx5e_ipsec_sadb_rx_add(struct mlx5e_ipsec_sa_entry *sa_entry, in mlx5e_ipsec_sadb_rx_add() argument 101 static void mlx5e_ipsec_sadb_rx_del(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_ipsec_sadb_rx_del() argument 111 mlx5e_ipsec_update_esn_state(struct mlx5e_ipsec_sa_entry *sa_entry) mlx5e_ipsec_update_esn_state() argument 145 mlx5e_ipsec_build_accel_xfrm_attrs(struct mlx5e_ipsec_sa_entry *sa_entry, struct mlx5_accel_esp_xfrm_attrs *attrs) mlx5e_ipsec_build_accel_xfrm_attrs() argument 284 mlx5e_xfrm_fs_add_rule(struct mlx5e_priv *priv, struct mlx5e_ipsec_sa_entry *sa_entry) mlx5e_xfrm_fs_add_rule() argument 295 mlx5e_xfrm_fs_del_rule(struct mlx5e_priv *priv, struct mlx5e_ipsec_sa_entry *sa_entry) mlx5e_xfrm_fs_del_rule() argument 307 struct mlx5e_ipsec_sa_entry *sa_entry = NULL; mlx5e_xfrm_add_state() local 384 struct mlx5e_ipsec_sa_entry *sa_entry = to_ipsec_sa_entry(x); mlx5e_xfrm_del_state() local 395 struct mlx5e_ipsec_sa_entry *sa_entry = to_ipsec_sa_entry(x); mlx5e_xfrm_free_state() local 476 struct mlx5e_ipsec_sa_entry *sa_entry; global() member 484 struct mlx5e_ipsec_sa_entry *sa_entry = modify_work->sa_entry; _update_xfrm_state() local 497 struct mlx5e_ipsec_sa_entry *sa_entry = to_ipsec_sa_entry(x); mlx5e_xfrm_advance_esn_state() local [all...] |
H A D | ipsec_rxtx.c | 322 struct mlx5e_ipsec_sa_entry *sa_entry; in mlx5e_ipsec_handle_tx_skb() local
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_offload.c | 138 static int mlx5_create_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_create_ipsec_obj() argument 185 static void mlx5_destroy_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_destroy_ipsec_obj() argument 200 int mlx5_ipsec_create_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5_ipsec_create_sa_ctx() argument 229 mlx5_ipsec_free_sa_ctx(struct mlx5e_ipsec_sa_entry *sa_entry) mlx5_ipsec_free_sa_ctx() argument 237 mlx5_modify_ipsec_obj(struct mlx5e_ipsec_sa_entry *sa_entry, const struct mlx5_accel_esp_xfrm_attrs *attrs) mlx5_modify_ipsec_obj() argument 284 mlx5_accel_esp_modify_xfrm(struct mlx5e_ipsec_sa_entry *sa_entry, const struct mlx5_accel_esp_xfrm_attrs *attrs) mlx5_accel_esp_modify_xfrm() argument 296 mlx5e_ipsec_aso_update(struct mlx5e_ipsec_sa_entry *sa_entry, struct mlx5_wqe_aso_ctrl_seg *data) mlx5e_ipsec_aso_update() argument 306 mlx5e_ipsec_update_esn_state(struct mlx5e_ipsec_sa_entry *sa_entry, u32 mode_param) mlx5e_ipsec_update_esn_state() argument 340 mlx5e_ipsec_aso_update_hard(struct mlx5e_ipsec_sa_entry *sa_entry) mlx5e_ipsec_aso_update_hard() argument 351 mlx5e_ipsec_aso_update_soft(struct mlx5e_ipsec_sa_entry *sa_entry, u32 val) mlx5e_ipsec_aso_update_soft() argument 363 mlx5e_ipsec_handle_limits(struct mlx5e_ipsec_sa_entry *sa_entry) mlx5e_ipsec_handle_limits() argument 448 struct mlx5e_ipsec_sa_entry *sa_entry = work->data; mlx5e_ipsec_handle_event() local 480 struct mlx5e_ipsec_sa_entry *sa_entry; mlx5e_ipsec_event() local 587 mlx5e_ipsec_aso_query(struct mlx5e_ipsec_sa_entry *sa_entry, struct mlx5_wqe_aso_ctrl_seg *data) mlx5e_ipsec_aso_query() argument [all...] |
H A D | ipsec_rxtx.c | 267 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
|
H A D | ipsec.c | 63 struct mlx5e_ipsec_sa_entry *sa_entry = dwork->sa_entry; in mlx5e_ipsec_handle_tx_limit() local 84 static bool mlx5e_ipsec_update_esn_state(struct mlx5e_ipsec_sa_entry *sa_entry) in mlx5e_ipsec_update_esn_state() argument 146 mlx5e_ipsec_init_limits(struct mlx5e_ipsec_sa_entry *sa_entry, struct mlx5_accel_esp_xfrm_attrs *attrs) mlx5e_ipsec_init_limits() argument 259 mlx5e_ipsec_init_macs(struct mlx5e_ipsec_sa_entry *sa_entry, struct mlx5_accel_esp_xfrm_attrs *attrs) mlx5e_ipsec_init_macs() argument 307 mlx5e_ipsec_build_accel_xfrm_attrs(struct mlx5e_ipsec_sa_entry *sa_entry, struct mlx5_accel_esp_xfrm_attrs *attrs) mlx5e_ipsec_build_accel_xfrm_attrs() argument 552 struct mlx5e_ipsec_sa_entry *sa_entry = work->sa_entry; mlx5e_ipsec_modify_state() local 560 mlx5e_ipsec_set_esn_ops(struct mlx5e_ipsec_sa_entry *sa_entry) mlx5e_ipsec_set_esn_ops() argument 580 struct mlx5e_ipsec_sa_entry *sa_entry = work->sa_entry; mlx5e_ipsec_handle_netdev_event() local 600 mlx5_ipsec_create_work(struct mlx5e_ipsec_sa_entry *sa_entry) mlx5_ipsec_create_work() argument 653 mlx5e_ipsec_create_dwork(struct mlx5e_ipsec_sa_entry *sa_entry) mlx5e_ipsec_create_dwork() argument 681 struct mlx5e_ipsec_sa_entry *sa_entry = NULL; mlx5e_xfrm_add_state() local 788 struct mlx5e_ipsec_sa_entry *sa_entry = to_ipsec_sa_entry(x); mlx5e_xfrm_del_state() local 808 struct mlx5e_ipsec_sa_entry *sa_entry = to_ipsec_sa_entry(x); mlx5e_xfrm_free_state() local 836 struct mlx5e_ipsec_sa_entry *sa_entry; mlx5e_ipsec_netevent_event() local 966 struct mlx5e_ipsec_sa_entry *sa_entry = to_ipsec_sa_entry(x); mlx5e_xfrm_advance_esn_state() local 983 struct mlx5e_ipsec_sa_entry *sa_entry = to_ipsec_sa_entry(x); mlx5e_xfrm_update_curlft() local [all...] |
H A D | ipsec_fs.c | 1323 static int rx_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry) in rx_add_rule() argument 1423 tx_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry) tx_add_rule() argument 1872 mlx5e_accel_ipsec_fs_add_rule(struct mlx5e_ipsec_sa_entry *sa_entry) mlx5e_accel_ipsec_fs_add_rule() argument 1898 mlx5e_accel_ipsec_fs_del_rule(struct mlx5e_ipsec_sa_entry *sa_entry) mlx5e_accel_ipsec_fs_del_rule() argument 2069 mlx5e_accel_ipsec_fs_modify(struct mlx5e_ipsec_sa_entry *sa_entry) mlx5e_accel_ipsec_fs_modify() argument 2085 mlx5e_ipsec_fs_tunnel_enabled(struct mlx5e_ipsec_sa_entry *sa_entry) mlx5e_ipsec_fs_tunnel_enabled() argument [all...] |
H A D | ipsec.h | 151 struct mlx5e_ipsec_sa_entry *sa_entry; member 161 struct mlx5e_ipsec_sa_entry *sa_entry; member 332 mlx5e_ipsec_sa2dev(struct mlx5e_ipsec_sa_entry *sa_entry) mlx5e_ipsec_sa2dev() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
H A D | chcr_ipsec.c | 144 ch_ipsec_setauthsize(struct xfrm_state *x, struct ipsec_sa_entry *sa_entry) ch_ipsec_setauthsize() argument 168 ch_ipsec_setkey(struct xfrm_state *x, struct ipsec_sa_entry *sa_entry) ch_ipsec_setkey() argument 233 struct ipsec_sa_entry *sa_entry; ch_ipsec_xfrm_add_state() local 314 struct ipsec_sa_entry *sa_entry; ch_ipsec_xfrm_free_state() local 345 is_eth_imm(const struct sk_buff *skb, struct ipsec_sa_entry *sa_entry) is_eth_imm() argument 364 calc_tx_sec_flits(const struct sk_buff *skb, struct ipsec_sa_entry *sa_entry, bool *immediate) calc_tx_sec_flits() argument 407 copy_esn_pktxt(struct sk_buff *skb, struct net_device *dev, void *pos, struct ipsec_sa_entry *sa_entry) copy_esn_pktxt() argument 461 copy_cpltx_pktxt(struct sk_buff *skb, struct net_device *dev, void *pos, struct ipsec_sa_entry *sa_entry) copy_cpltx_pktxt() argument 505 copy_key_cpltx_pktxt(struct sk_buff *skb, struct net_device *dev, void *pos, struct ipsec_sa_entry *sa_entry) copy_key_cpltx_pktxt() argument 553 ch_ipsec_crypto_wreq(struct sk_buff *skb, struct net_device *dev, void *pos, int credits, struct ipsec_sa_entry *sa_entry) ch_ipsec_crypto_wreq() argument 710 struct ipsec_sa_entry *sa_entry; ch_ipsec_xmit() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
H A D | chcr_ipsec.c | 143 ch_ipsec_setauthsize(struct xfrm_state *x, struct ipsec_sa_entry *sa_entry) ch_ipsec_setauthsize() argument 167 ch_ipsec_setkey(struct xfrm_state *x, struct ipsec_sa_entry *sa_entry) ch_ipsec_setkey() argument 233 struct ipsec_sa_entry *sa_entry; ch_ipsec_xfrm_add_state() local 318 struct ipsec_sa_entry *sa_entry; ch_ipsec_xfrm_free_state() local 349 is_eth_imm(const struct sk_buff *skb, struct ipsec_sa_entry *sa_entry) is_eth_imm() argument 368 calc_tx_sec_flits(const struct sk_buff *skb, struct ipsec_sa_entry *sa_entry, bool *immediate) calc_tx_sec_flits() argument 411 copy_esn_pktxt(struct sk_buff *skb, struct net_device *dev, void *pos, struct ipsec_sa_entry *sa_entry) copy_esn_pktxt() argument 465 copy_cpltx_pktxt(struct sk_buff *skb, struct net_device *dev, void *pos, struct ipsec_sa_entry *sa_entry) copy_cpltx_pktxt() argument 509 copy_key_cpltx_pktxt(struct sk_buff *skb, struct net_device *dev, void *pos, struct ipsec_sa_entry *sa_entry) copy_key_cpltx_pktxt() argument 557 ch_ipsec_crypto_wreq(struct sk_buff *skb, struct net_device *dev, void *pos, int credits, struct ipsec_sa_entry *sa_entry) ch_ipsec_crypto_wreq() argument 714 struct ipsec_sa_entry *sa_entry; ch_ipsec_xmit() local [all...] |