summaryrefslogtreecommitdiffstats
path: root/include/net/xdp_sock.h
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn.topel@intel.com>2018-06-04 14:05:54 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2018-06-05 15:46:26 +0200
commit02b55e5657c3a569fc681ba851e464cfa6b90d4f (patch)
tree6d7665f8ddb9640c9aade3e3cbf3cb5b1e099c60 /include/net/xdp_sock.h
parentnet: xdp: added bpf_netdev_command XDP_{QUERY, SETUP}_XSK_UMEM (diff)
downloadlinux-02b55e5657c3a569fc681ba851e464cfa6b90d4f.tar.xz
linux-02b55e5657c3a569fc681ba851e464cfa6b90d4f.zip
xdp: add MEM_TYPE_ZERO_COPY
Here, a new type of allocator support is added to the XDP return API. A zero-copy allocated xdp_buff cannot be converted to an xdp_frame. Instead is the buff has to be copied. This is not supported at all in this commit. Also, an opaque "handle" is added to xdp_buff. This can be used as a context for the zero-copy allocator implementation. Signed-off-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'include/net/xdp_sock.h')
0 files changed, 0 insertions, 0 deletions