Re: [PATCH v2 3/5] ixgbe: add AF_XDP zero-copy Rx support

2018-10-02 Thread William Tu
On Tue, Oct 2, 2018 at 1:01 AM Björn Töpel wrote: > > From: Björn Töpel > > This patch adds zero-copy Rx support for AF_XDP sockets. Instead of > allocating buffers of type MEM_TYPE_PAGE_SHARED, the Rx frames are > allocated as MEM_TYPE_ZERO_COPY when AF_XDP is enabled for a certain > queue. > >

[PATCH v2 3/5] ixgbe: add AF_XDP zero-copy Rx support

2018-10-02 Thread Björn Töpel
From: Björn Töpel This patch adds zero-copy Rx support for AF_XDP sockets. Instead of allocating buffers of type MEM_TYPE_PAGE_SHARED, the Rx frames are allocated as MEM_TYPE_ZERO_COPY when AF_XDP is enabled for a certain queue. All AF_XDP specific functions are added to a new file, ixgbe_xsk.c.