diff options
author | Toke Høiland-Jørgensen | 2023-08-24 12:22:48 +0200 |
---|---|---|
committer | Alexei Starovoitov | 2023-08-24 08:43:50 -0700 |
commit | cced0699cbf1ebfb39234d764ade2f907c5ca0b5 (patch) | |
tree | 136544a181cdac0d2d8a4deb5e79a4f3bda7137d /lib/btree.c | |
parent | eaca21d6eee9bb9b9f53c1c187d488ff1cbb6168 (diff) |
samples/bpf: Remove the xdp_sample_pkts utility
The functionality of this utility is covered by the xdpdump utility in
xdp-tools.
There's a slight difference in usage as the xdpdump utility's main focus is
to dump packets before or after they are processed by an existing XDP
program. However, xdpdump also has the --load-xdp-program switch, which
will make it attach its own program if no existing program is loaded. With
this, xdp_sample_pkts usage can be converted as:
xdp_sample_pkts eth0
--> xdpdump --load-xdp-program eth0
To get roughly equivalent behaviour.
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/r/20230824102255.1561885-6-toke@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'lib/btree.c')
0 files changed, 0 insertions, 0 deletions