Skip to content

Commit 0e445e1

Browse files
tohojoAlexei Starovoitov
authored andcommitted
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>
1 parent 91dda69 commit 0e445e1

File tree

3 files changed

+0
-757
lines changed

3 files changed

+0
-757
lines changed

samples/bpf/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ tprogs-y += lwt_len_hist
4141
tprogs-y += xdp_tx_iptunnel
4242
tprogs-y += test_map_in_map
4343
tprogs-y += per_socket_stats_example
44-
tprogs-y += xdp_rxq_info
4544
tprogs-y += syscall_tp
4645
tprogs-y += cpustat
4746
tprogs-y += xdp_adjust_tail
@@ -96,7 +95,6 @@ lwt_len_hist-objs := lwt_len_hist_user.o
9695
xdp_tx_iptunnel-objs := xdp_tx_iptunnel_user.o
9796
test_map_in_map-objs := test_map_in_map_user.o
9897
per_socket_stats_example-objs := cookie_uid_helper_example.o
99-
xdp_rxq_info-objs := xdp_rxq_info_user.o
10098
syscall_tp-objs := syscall_tp_user.o
10199
cpustat-objs := cpustat_user.o
102100
xdp_adjust_tail-objs := xdp_adjust_tail_user.o
@@ -151,7 +149,6 @@ always-y += tcp_clamp_kern.o
151149
always-y += tcp_basertt_kern.o
152150
always-y += tcp_tos_reflect_kern.o
153151
always-y += tcp_dumpstats_kern.o
154-
always-y += xdp_rxq_info_kern.o
155152
always-y += xdp2skb_meta_kern.o
156153
always-y += syscall_tp_kern.o
157154
always-y += cpustat_kern.o

samples/bpf/xdp_rxq_info_kern.c

Lines changed: 0 additions & 140 deletions
This file was deleted.

0 commit comments

Comments
 (0)