aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorAndre Guedes <andre.guedes@intel.com>2019-11-14 08:28:46 -0800
committerDaniel Borkmann <daniel@iogearbox.net>2019-11-15 22:29:17 +0100
commit110b2263db8ab91d204378988ca73b932b26dad3 (patch)
tree2ba17d50560e19063bfed4f94c3f5056fa801c51 /samples
parents390/bpf: Make sure JIT passes do not increase code size (diff)
downloadlinux-dev-110b2263db8ab91d204378988ca73b932b26dad3.tar.xz
linux-dev-110b2263db8ab91d204378988ca73b932b26dad3.zip
samples/bpf: Remove duplicate option from xdpsock
The '-f' option is shown twice in the usage(). This patch removes the outdated version. Signed-off-by: Andre Guedes <andre.guedes@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20191114162847.221770-1-andre.guedes@intel.com
Diffstat (limited to 'samples')
-rw-r--r--samples/bpf/xdpsock_user.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/samples/bpf/xdpsock_user.c b/samples/bpf/xdpsock_user.c
index a1f96e55e43a..c5d0a006cafc 100644
--- a/samples/bpf/xdpsock_user.c
+++ b/samples/bpf/xdpsock_user.c
@@ -393,7 +393,6 @@ static void usage(const char *prog)
" -n, --interval=n Specify statistics update interval (default 1 sec).\n"
" -z, --zero-copy Force zero-copy mode.\n"
" -c, --copy Force copy mode.\n"
- " -f, --frame-size=n Set the frame size (must be a power of two, default is %d).\n"
" -m, --no-need-wakeup Turn off use of driver need wakeup flag.\n"
" -f, --frame-size=n Set the frame size (must be a power of two in aligned mode, default is %d).\n"
" -u, --unaligned Enable unaligned chunk placement\n"