]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
samples/bpf: Remove duplicate option from xdpsock
authorAndre Guedes <andre.guedes@intel.com>
Thu, 14 Nov 2019 16:28:46 +0000 (08:28 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 15 Nov 2019 21:29:17 +0000 (22:29 +0100)
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
samples/bpf/xdpsock_user.c

index a1f96e55e43af5294c047b0b882563f9b43f3176..c5d0a006cafcd3b2b1bce7fa5b7541ad8fa0056b 100644 (file)
@@ -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"