Searched refs:offload_handle (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbevf/ |
A D | ipsec.c | 341 xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_RX_INDEX; in ixgbevf_ipsec_add_sa() 381 xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_TX_INDEX; in ixgbevf_ipsec_add_sa() 404 sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_RX_INDEX; in ixgbevf_ipsec_del_sa() 408 sa_idx, xs->xso.offload_handle); in ixgbevf_ipsec_del_sa() 417 sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX; in ixgbevf_ipsec_del_sa() 421 sa_idx, xs->xso.offload_handle); in ixgbevf_ipsec_del_sa() 488 sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX; in ixgbevf_ipsec_tx() 491 __func__, sa_idx, xs->xso.offload_handle); in ixgbevf_ipsec_tx()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
A D | chcr_ipsec.c | 303 x->xso.offload_handle = (unsigned long)sa_entry; in ch_ipsec_xfrm_add_state() 312 if (!x->xso.offload_handle) in ch_ipsec_xfrm_del_state() 320 if (!x->xso.offload_handle) in ch_ipsec_xfrm_free_state() 323 sa_entry = (struct ipsec_sa_entry *)x->xso.offload_handle; in ch_ipsec_xfrm_free_state() 345 if (!x->xso.offload_handle) in ch_ipsec_advance_esn_state() 724 if (!x->xso.offload_handle) in ch_ipsec_xmit() 727 sa_entry = (struct ipsec_sa_entry *)x->xso.offload_handle; in ch_ipsec_xmit()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_ipsec.c | 698 xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_RX_INDEX; in ixgbe_ipsec_add_sa() 739 xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_TX_INDEX; in ixgbe_ipsec_add_sa() 770 sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_RX_INDEX; in ixgbe_ipsec_del_sa() 775 sa_idx, xs->xso.offload_handle); in ixgbe_ipsec_del_sa() 800 sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX; in ixgbe_ipsec_del_sa() 804 sa_idx, xs->xso.offload_handle); in ixgbe_ipsec_del_sa() 958 pfsa = xs->xso.offload_handle; in ixgbe_ipsec_vf_add_sa() 969 msgbuf[1] = xs->xso.offload_handle; in ixgbe_ipsec_vf_add_sa() 1096 itd->sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX; in ixgbe_ipsec_tx() 1099 __func__, itd->sa_idx, xs->xso.offload_handle); in ixgbe_ipsec_tx()
|
/linux-6.3-rc2/drivers/net/netdevsim/ |
A D | ipsec.c | 194 xs->xso.offload_handle = sa_idx | NSIM_IPSEC_VALID; in nsim_ipsec_add_sa() 206 sa_idx = xs->xso.offload_handle & ~NSIM_IPSEC_VALID; in nsim_ipsec_del_sa() 257 sa_idx = xs->xso.offload_handle & ~NSIM_IPSEC_VALID; in nsim_ipsec_tx()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
A D | ipsec_rxtx.c | 233 if (unlikely(!x->xso.offload_handle || in mlx5e_ipsec_tx_build_eseg() 280 if (unlikely(!x->xso.offload_handle || in mlx5e_ipsec_handle_tx_skb() 293 sa_entry = (struct mlx5e_ipsec_sa_entry *)x->xso.offload_handle; in mlx5e_ipsec_handle_tx_skb()
|
A D | ipsec.c | 45 return (struct mlx5e_ipsec_sa_entry *)x->xso.offload_handle; in to_ipsec_sa_entry() 50 return (struct mlx5e_ipsec_pol_entry *)x->xdo.offload_handle; in to_ipsec_pol_entry() 356 x->xso.offload_handle = (unsigned long)sa_entry; in mlx5e_xfrm_add_state() 595 x->xdo.offload_handle = (unsigned long)pol_entry; in mlx5e_xfrm_add_policy()
|
A D | ipsec_rxtx.h | 97 if (!x || !x->xso.offload_handle) in mlx5e_ipsec_feature_check()
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/crypto/ |
A D | ipsec.c | 506 x->xso.offload_handle = saidx + 1; in nfp_net_xfrm_add_state() 514 .sa_idx = x->xso.offload_handle - 1, in nfp_net_xfrm_del_state() 526 xa_erase(&nn->xa_ipsec, x->xso.offload_handle - 1); in nfp_net_xfrm_del_state() 575 offload_info->handle = x->xso.offload_handle; in nfp_net_ipsec_tx_prep()
|
/linux-6.3-rc2/Documentation/networking/ |
A D | xfrm_device.rst | 117 The driver can also set an offload_handle in the SA, an opaque void pointer 120 xs->xso.offload_handle = context; 136 context = xs->xso.offload_handle;
|
/linux-6.3-rc2/include/net/ |
A D | xfrm.h | 145 unsigned long offload_handle; member 1955 if (!x->xso.offload_handle && !xdst->child->xfrm) in xfrm_dst_offload_ok() 1957 if (x->xso.offload_handle && (x->xso.dev == xfrm_dst_path(dst)->dev) && in xfrm_dst_offload_ok()
|
Completed in 20 milliseconds