Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Andre Guedes and committed by
Daniel Borkmann
110b2263 fcf35131

-1
-1
samples/bpf/xdpsock_user.c
··· 393 393 " -n, --interval=n Specify statistics update interval (default 1 sec).\n" 394 394 " -z, --zero-copy Force zero-copy mode.\n" 395 395 " -c, --copy Force copy mode.\n" 396 - " -f, --frame-size=n Set the frame size (must be a power of two, default is %d).\n" 397 396 " -m, --no-need-wakeup Turn off use of driver need wakeup flag.\n" 398 397 " -f, --frame-size=n Set the frame size (must be a power of two in aligned mode, default is %d).\n" 399 398 " -u, --unaligned Enable unaligned chunk placement\n"