samples/bpf: add -c/--copy -z/--zero-copy flags to xdpsock
authorBjörn Töpel <bjorn.topel@intel.com>
Tue, 28 Aug 2018 12:44:35 +0000 (14:44 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 29 Aug 2018 19:25:53 +0000 (12:25 -0700)
commit58c50ae4a0b638ebbcdddf03cfa4fd36f0edeb02
tree57ce4ca973b0149808ac312a2642086424489a12
parent1328dcddbd53900481994f4c4d8b79e64477965e
samples/bpf: add -c/--copy -z/--zero-copy flags to xdpsock

The -c/--copy -z/--zero-copy flags enforces either copy or zero-copy
mode.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
samples/bpf/xdpsock_user.c