xso 263 drivers/crypto/chelsio/chcr_ipsec.c x->xso.offload_handle = (unsigned long)sa_entry; xso 272 drivers/crypto/chelsio/chcr_ipsec.c if (!x->xso.offload_handle) xso 280 drivers/crypto/chelsio/chcr_ipsec.c if (!x->xso.offload_handle) xso 283 drivers/crypto/chelsio/chcr_ipsec.c sa_entry = (struct ipsec_sa_entry *)x->xso.offload_handle; xso 308 drivers/crypto/chelsio/chcr_ipsec.c if (!x->xso.offload_handle) xso 687 drivers/crypto/chelsio/chcr_ipsec.c if (!x->xso.offload_handle) xso 690 drivers/crypto/chelsio/chcr_ipsec.c sa_entry = (struct ipsec_sa_entry *)x->xso.offload_handle; xso 430 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c struct net_device *dev = xs->xso.dev; xso 480 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c struct net_device *dev = xs->xso.dev; xso 563 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c struct net_device *dev = xs->xso.dev; xso 583 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (xs->xso.flags & XFRM_OFFLOAD_INBOUND) { xso 687 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_RX_INDEX; xso 728 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_TX_INDEX; xso 748 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c struct net_device *dev = xs->xso.dev; xso 755 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c if (xs->xso.flags & XFRM_OFFLOAD_INBOUND) { xso 759 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_RX_INDEX; xso 764 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c sa_idx, xs->xso.offload_handle); xso 789 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX; xso 793 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c sa_idx, xs->xso.offload_handle); xso 912 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c xs->xso.flags = sam->flags; xso 920 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c xs->xso.dev = adapter->netdev; xso 947 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c pfsa = xs->xso.offload_handle; xso 958 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c msgbuf[1] = xs->xso.offload_handle; xso 1085 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c itd->sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX; xso 1088 drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c __func__, itd->sa_idx, xs->xso.offload_handle); xso 28 drivers/net/ethernet/intel/ixgbevf/ipsec.c sam->flags = xs->xso.flags; xso 214 drivers/net/ethernet/intel/ixgbevf/ipsec.c struct net_device *dev = xs->xso.dev; xso 263 drivers/net/ethernet/intel/ixgbevf/ipsec.c struct net_device *dev = xs->xso.dev; xso 275 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (xs->xso.flags & XFRM_OFFLOAD_INBOUND) { xso 327 drivers/net/ethernet/intel/ixgbevf/ipsec.c xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_RX_INDEX; xso 367 drivers/net/ethernet/intel/ixgbevf/ipsec.c xs->xso.offload_handle = sa_idx + IXGBE_IPSEC_BASE_TX_INDEX; xso 381 drivers/net/ethernet/intel/ixgbevf/ipsec.c struct net_device *dev = xs->xso.dev; xso 386 drivers/net/ethernet/intel/ixgbevf/ipsec.c if (xs->xso.flags & XFRM_OFFLOAD_INBOUND) { xso 387 drivers/net/ethernet/intel/ixgbevf/ipsec.c sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_RX_INDEX; xso 391 drivers/net/ethernet/intel/ixgbevf/ipsec.c sa_idx, xs->xso.offload_handle); xso 400 drivers/net/ethernet/intel/ixgbevf/ipsec.c sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX; xso 404 drivers/net/ethernet/intel/ixgbevf/ipsec.c sa_idx, xs->xso.offload_handle); xso 471 drivers/net/ethernet/intel/ixgbevf/ipsec.c sa_idx = xs->xso.offload_handle - IXGBE_IPSEC_BASE_TX_INDEX; xso 474 drivers/net/ethernet/intel/ixgbevf/ipsec.c __func__, sa_idx, xs->xso.offload_handle); xso 52 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c sa = (struct mlx5e_ipsec_sa_entry *)x->xso.offload_handle; xso 195 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c attrs->action = (!(x->xso.flags & XFRM_OFFLOAD_INBOUND)) ? xso 206 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c struct net_device *netdev = x->xso.dev; xso 284 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c struct net_device *netdev = x->xso.dev; xso 309 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->xso.flags & XFRM_OFFLOAD_INBOUND) { xso 353 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c x->xso.offload_handle = (unsigned long)sa_entry; xso 359 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->xso.flags & XFRM_OFFLOAD_INBOUND) { xso 376 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->xso.flags & XFRM_OFFLOAD_INBOUND) xso 393 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (x->xso.flags & XFRM_OFFLOAD_INBOUND) xso 262 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c if (unlikely(!x->xso.offload_handle || xso 280 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c sa_entry = (struct mlx5e_ipsec_sa_entry *)x->xso.offload_handle; xso 372 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c if (x && x->xso.offload_handle) xso 88 drivers/net/netdevsim/ipsec.c struct net_device *dev = xs->xso.dev; xso 137 drivers/net/netdevsim/ipsec.c dev = xs->xso.dev; xso 174 drivers/net/netdevsim/ipsec.c if (xs->xso.flags & XFRM_OFFLOAD_INBOUND) { xso 189 drivers/net/netdevsim/ipsec.c xs->xso.offload_handle = sa_idx | NSIM_IPSEC_VALID; xso 197 drivers/net/netdevsim/ipsec.c struct netdevsim *ns = netdev_priv(xs->xso.dev); xso 201 drivers/net/netdevsim/ipsec.c sa_idx = xs->xso.offload_handle & ~NSIM_IPSEC_VALID; xso 214 drivers/net/netdevsim/ipsec.c struct netdevsim *ns = netdev_priv(xs->xso.dev); xso 252 drivers/net/netdevsim/ipsec.c sa_idx = xs->xso.offload_handle & ~NSIM_IPSEC_VALID; xso 235 include/net/xfrm.h struct xfrm_state_offload xso; xso 1857 include/net/xfrm.h struct xfrm_state_offload *xso = &x->xso; xso 1859 include/net/xfrm.h if (xso->dev && xso->dev->xfrmdev_ops->xdo_dev_state_advance_esn) xso 1860 include/net/xfrm.h xso->dev->xfrmdev_ops->xdo_dev_state_advance_esn(x); xso 1872 include/net/xfrm.h if (!x->xso.offload_handle && !xdst->child->xfrm) xso 1874 include/net/xfrm.h if (x->xso.offload_handle && (x->xso.dev == xfrm_dst_path(dst)->dev) && xso 1883 include/net/xfrm.h struct xfrm_state_offload *xso = &x->xso; xso 1885 include/net/xfrm.h if (xso->dev) xso 1886 include/net/xfrm.h xso->dev->xfrmdev_ops->xdo_dev_state_delete(x); xso 1891 include/net/xfrm.h struct xfrm_state_offload *xso = &x->xso; xso 1892 include/net/xfrm.h struct net_device *dev = xso->dev; xso 1897 include/net/xfrm.h xso->dev = NULL; xso 179 net/ipv4/esp4_offload.c !(features & NETIF_F_HW_ESP)) || x->xso.dev != skb->dev) xso 225 net/ipv4/esp4_offload.c x->xso.dev != skb->dev) { xso 212 net/ipv6/esp6_offload.c if (!(features & NETIF_F_HW_ESP) || x->xso.dev != skb->dev) xso 256 net/ipv6/esp6_offload.c if (!(features & NETIF_F_HW_ESP) || x->xso.dev != skb->dev) { xso 93 net/xfrm/xfrm_device.c if (xo->flags & XFRM_GRO || x->xso.flags & XFRM_OFFLOAD_INBOUND) xso 109 net/xfrm/xfrm_device.c if (unlikely(x->xso.dev != dev)) { xso 196 net/xfrm/xfrm_device.c struct xfrm_state_offload *xso = &x->xso; xso 230 net/xfrm/xfrm_device.c xso->dev = NULL; xso 237 net/xfrm/xfrm_device.c xso->dev = NULL; xso 242 net/xfrm/xfrm_device.c xso->dev = dev; xso 243 net/xfrm/xfrm_device.c xso->num_exthdrs = 1; xso 244 net/xfrm/xfrm_device.c xso->flags = xuo->flags; xso 248 net/xfrm/xfrm_device.c xso->num_exthdrs = 0; xso 249 net/xfrm/xfrm_device.c xso->flags = 0; xso 250 net/xfrm/xfrm_device.c xso->dev = NULL; xso 266 net/xfrm/xfrm_device.c struct net_device *dev = x->xso.dev; xso 285 net/xfrm/xfrm_device.c return x->xso.dev->xfrmdev_ops->xdo_dev_offload_ok(skb, x); xso 596 net/xfrm/xfrm_output.c if (x->xso.dev && x->xso.dev->features & NETIF_F_HW_ESP_TX_CSUM) xso 727 net/xfrm/xfrm_state.c struct xfrm_state_offload *xso; xso 730 net/xfrm/xfrm_state.c xso = &x->xso; xso 732 net/xfrm/xfrm_state.c if (xso->dev == dev && xso 811 net/xfrm/xfrm_state.c struct xfrm_state_offload *xso; xso 814 net/xfrm/xfrm_state.c xso = &x->xso; xso 816 net/xfrm/xfrm_state.c if (!xfrm_state_kern(x) && xso->dev == dev) { xso 834 net/xfrm/xfrm_user.c static int copy_user_offload(struct xfrm_state_offload *xso, struct sk_buff *skb) xso 845 net/xfrm/xfrm_user.c xuo->ifindex = xso->dev->ifindex; xso 846 net/xfrm/xfrm_user.c xuo->flags = xso->flags; xso 958 net/xfrm/xfrm_user.c if(x->xso.dev) xso 959 net/xfrm/xfrm_user.c ret = copy_user_offload(&x->xso, skb); xso 2814 net/xfrm/xfrm_user.c if (x->xso.dev) xso 2815 net/xfrm/xfrm_user.c l += nla_total_size(sizeof(x->xso));