[Intel-wired-lan] [PATCH v2 1/2] ixgbe: add tracking of AF_XDP zero-copy state for each queue pair
Bowers, AndrewX
andrewx.bowers at intel.com
Tue Apr 2 18:42:23 UTC 2019
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Jeff Kirsher
> Sent: Friday, March 22, 2019 2:17 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH v2 1/2] ixgbe: add tracking of AF_XDP zero-
> copy state for each queue pair
>
> From: Jan Sokolowski <jan.sokolowski at intel.com>
>
> Here, we add a bitmap to the ixgbe_adapter that tracks if a certain queue
> pair has been "zero-copy enabled" via the ndo_bpf.
> The bitmap is used in ixgbe_xsk_umem, and enables zero-copy if and only if
> XDP is enabled, the corresponding qid in the bitmap is set, and the umem is
> non-NULL;
>
> Signed-off-by: Jan Sokolowski <jan.sokolowski at intel.com>
> ---
> v2: fixed merge issues with the current next-queue tree
>
> drivers/net/ethernet/intel/ixgbe/ixgbe.h | 1 +
> drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 6 ++++++
> drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c | 5 ++++-
> 3 files changed, 11 insertions(+), 1 deletion(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list