Home
last modified time | relevance | path

Searched refs:offload_handle (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/
Dipsec.c335 xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_RX_INDEX; in ixgbevf_ipsec_add_sa()
375 xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_TX_INDEX; in ixgbevf_ipsec_add_sa()
398 sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_RX_INDEX; in ixgbevf_ipsec_del_sa()
402 sa_idx, xs->xso.offload_handle); in ixgbevf_ipsec_del_sa()
411 sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX; in ixgbevf_ipsec_del_sa()
415 sa_idx, xs->xso.offload_handle); in ixgbevf_ipsec_del_sa()
482 sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX; in ixgbevf_ipsec_tx()
485 __func__, sa_idx, xs->xso.offload_handle); in ixgbevf_ipsec_tx()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/
Dchcr_ipsec.c299 x->xso.offload_handle = (unsigned long)sa_entry; in ch_ipsec_xfrm_add_state()
308 if (!x->xso.offload_handle) in ch_ipsec_xfrm_del_state()
316 if (!x->xso.offload_handle) in ch_ipsec_xfrm_free_state()
319 sa_entry = (struct ipsec_sa_entry *)x->xso.offload_handle; in ch_ipsec_xfrm_free_state()
341 if (!x->xso.offload_handle) in ch_ipsec_advance_esn_state()
720 if (!x->xso.offload_handle) in ch_ipsec_xmit()
723 sa_entry = (struct ipsec_sa_entry *)x->xso.offload_handle; in ch_ipsec_xmit()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c692 xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_RX_INDEX; in ixgbe_ipsec_add_sa()
733 xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_TX_INDEX; in ixgbe_ipsec_add_sa()
764 sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_RX_INDEX; in ixgbe_ipsec_del_sa()
769 sa_idx, xs->xso.offload_handle); in ixgbe_ipsec_del_sa()
794 sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX; in ixgbe_ipsec_del_sa()
798 sa_idx, xs->xso.offload_handle); in ixgbe_ipsec_del_sa()
952 pfsa = xs->xso.offload_handle; in ixgbe_ipsec_vf_add_sa()
963 msgbuf[1] = xs->xso.offload_handle; in ixgbe_ipsec_vf_add_sa()
1090 itd->sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX; in ixgbe_ipsec_tx()
1093 __func__, itd->sa_idx, xs->xso.offload_handle); in ixgbe_ipsec_tx()
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dipsec.c189 xs->xso.offload_handle = sa_idx | NSIM_IPSEC_VALID; in nsim_ipsec_add_sa()
201 sa_idx = xs->xso.offload_handle & ~NSIM_IPSEC_VALID; in nsim_ipsec_del_sa()
252 sa_idx = xs->xso.offload_handle & ~NSIM_IPSEC_VALID; in nsim_ipsec_tx()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c287 if (unlikely(!x->xso.offload_handle || in mlx5e_ipsec_tx_build_eseg()
337 if (unlikely(!x->xso.offload_handle || in mlx5e_ipsec_handle_tx_skb()
358 sa_entry = (struct mlx5e_ipsec_sa_entry *)x->xso.offload_handle; in mlx5e_ipsec_handle_tx_skb()
508 if (x && x->xso.offload_handle) in mlx5e_ipsec_feature_check()
Dipsec.c52 sa = (struct mlx5e_ipsec_sa_entry *)x->xso.offload_handle; in to_ipsec_sa_entry()
369 x->xso.offload_handle = (unsigned long)sa_entry; in mlx5e_xfrm_add_state()
/kernel/linux/linux-5.10/Documentation/networking/
Dxfrm_device.rst86 The driver can also set an offload_handle in the SA, an opaque void pointer
89 xs->xso.offload_handle = context;
104 context = xs->xso.offload_handle;
/kernel/linux/linux-5.10/include/net/
Dxfrm.h132 unsigned long offload_handle; member
1878 if (!x->xso.offload_handle && !xdst->child->xfrm) in xfrm_dst_offload_ok()
1880 if (x->xso.offload_handle && (x->xso.dev == xfrm_dst_path(dst)->dev) && in xfrm_dst_offload_ok()