xsk: add zero-copy support for Rx
authorBjörn Töpel <bjorn.topel@intel.com>
Mon, 4 Jun 2018 12:05:55 +0000 (14:05 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 5 Jun 2018 13:46:55 +0000 (15:46 +0200)
commit173d3adb6f437037f216270955886ca9878187a5
tree9eb770a9b2a2b74d1a19dc7ac3d3ec417c337057
parent02b55e5657c3a569fc681ba851e464cfa6b90d4f
xsk: add zero-copy support for Rx

Extend the xsk_rcv to support the new MEM_TYPE_ZERO_COPY memory, and
wireup ndo_bpf call in bind.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/net/xdp_sock.h
include/uapi/linux/if_xdp.h
net/xdp/xdp_umem.c
net/xdp/xdp_umem.h
net/xdp/xsk.c