samples/bpf: Add missing option to xdp_sample_pkts usage
authorWang Hai <wanghai38@huawei.com>
Tue, 15 Jun 2021 13:57:24 +0000 (21:57 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 17 Jun 2021 03:11:24 +0000 (20:11 -0700)
commitdfdda1a0f4aad476ae25f2840c9426da3b99506d
tree9800ab4e4c20403ac73dadecd6396be7a1d45f8a
parentbf067f1c51239ba70be714c513820d2c4a5cd457
samples/bpf: Add missing option to xdp_sample_pkts usage

xdp_sample_pkts usage() is missing the introduction of the
"-S" option, this patch adds it.

Fixes: d50ecc46d18f ("samples/bpf: Attach XDP programs in driver mode by default")
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Link: https://lore.kernel.org/bpf/20210615135724.29528-1-wanghai38@huawei.com
samples/bpf/xdp_sample_pkts_user.c