Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/chelsio/
Dchcr_ipsec.c270 x->xso.offload_handle = (unsigned long)sa_entry; in chcr_xfrm_add_state()
279 if (!x->xso.offload_handle) in chcr_xfrm_del_state()
287 if (!x->xso.offload_handle) in chcr_xfrm_free_state()
290 sa_entry = (struct ipsec_sa_entry *)x->xso.offload_handle; in chcr_xfrm_free_state()
575 if (!x->xso.offload_handle) in chcr_ipsec_xmit()
578 sa_entry = (struct ipsec_sa_entry *)x->xso.offload_handle; in chcr_ipsec_xmit()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ipsec.c669 xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_RX_INDEX; in ixgbe_ipsec_add_sa()
706 xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_TX_INDEX; in ixgbe_ipsec_add_sa()
737 sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_RX_INDEX; in ixgbe_ipsec_del_sa()
742 sa_idx, xs->xso.offload_handle); in ixgbe_ipsec_del_sa()
767 sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX; in ixgbe_ipsec_del_sa()
771 sa_idx, xs->xso.offload_handle); in ixgbe_ipsec_del_sa()
841 itd->sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX; in ixgbe_ipsec_tx()
844 __func__, itd->sa_idx, xs->xso.offload_handle); in ixgbe_ipsec_tx()
/Linux-v4.19/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()
251 sa_idx = xs->xso.offload_handle & ~NSIM_IPSEC_VALID; in nsim_ipsec_tx()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c272 if (unlikely(!x->xso.offload_handle || in mlx5e_ipsec_handle_tx_skb()
290 sa_entry = (struct mlx5e_ipsec_sa_entry *)x->xso.offload_handle; in mlx5e_ipsec_handle_tx_skb()
379 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()
353 x->xso.offload_handle = (unsigned long)sa_entry; in mlx5e_xfrm_add_state()
/Linux-v4.19/Documentation/networking/
Dxfrm_device.txt72 The driver can also set an offload_handle in the SA, an opaque void pointer
75 xs->xso.offload_handle = context;
90 context = xs->xso.offload_handle;
/Linux-v4.19/include/net/
Dxfrm.h130 unsigned long offload_handle; member
1950 if (!x->xso.offload_handle && !xdst->child->xfrm) in xfrm_dst_offload_ok()
1952 if (x->xso.offload_handle && (x->xso.dev == xfrm_dst_path(dst)->dev) && in xfrm_dst_offload_ok()