aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ec_bhf.c
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn.topel@intel.com>2018-10-02 10:00:32 +0200
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-10-03 12:51:14 -0700
commitd0bcacd0a130974f58a56318db7a5ca6a7ba1d5a (patch)
tree64fc0abfd96aa095b9c4134a27280322a4a0b0f2 /drivers/net/ethernet/ec_bhf.c
parentixgbe: move common Rx functions to ixgbe_txrx_common.h (diff)
downloadlinux-dev-d0bcacd0a130974f58a56318db7a5ca6a7ba1d5a.tar.xz
linux-dev-d0bcacd0a130974f58a56318db7a5ca6a7ba1d5a.zip
ixgbe: add AF_XDP zero-copy Rx support
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. Note that when AF_XDP zero-copy is enabled, the XDP action XDP_PASS will allocate a new buffer and copy the zero-copy frame prior passing it to the kernel stack. Signed-off-by: Björn Töpel <bjorn.topel@intel.com> Tested-by: William Tu <u9012063@gmail.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/ec_bhf.c')
0 files changed, 0 insertions, 0 deletions