OSDN Git Service

samples/bpf: Remove the xdp_rxq_info utility
authorToke Høiland-Jørgensen <toke@redhat.com>
Thu, 24 Aug 2023 10:22:46 +0000 (12:22 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 24 Aug 2023 15:43:50 +0000 (08:43 -0700)
commit0e445e115f8f4f3d3de5b9199dc2da83d75b1f3c
tree45946eaa11fa08462690ce27180494f77b5facaa
parent91dda69b08de93465632561701a337ec18321ea4
samples/bpf: Remove the xdp_rxq_info utility

The functionality of this utility has been incorporated into the xdp-bench
utility in xdp-tools, by way of the --rxq-stats argument to the 'drop',
'pass' and 'tx' commands of xdp-bench.

Some examples of how to convert xdp_rxq_info invocations into equivalent
xdp-bench commands:

xdp_rxq_info -d eth0
  --> xdp-bench pass --rxq-stats eth0

xdp_rxq_info -d eth0 -a XDP_DROP -m
  --> xdp-bench drop --rxq-stats -p swap-macs eth0

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/r/20230824102255.1561885-4-toke@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
samples/bpf/Makefile
samples/bpf/xdp_rxq_info_kern.c [deleted file]
samples/bpf/xdp_rxq_info_user.c [deleted file]