diff options
author | 2023-08-24 12:22:48 +0200 | |
---|---|---|
committer | 2023-08-24 08:43:50 -0700 | |
commit | cced0699cbf1ebfb39234d764ade2f907c5ca0b5 (patch) | |
tree | 136544a181cdac0d2d8a4deb5e79a4f3bda7137d /scripts/generate_rust_analyzer.py | |
parent | samples/bpf: Remove the xdp1 and xdp2 utilities (diff) | |
download | linux-rng-cced0699cbf1ebfb39234d764ade2f907c5ca0b5.tar.xz linux-rng-cced0699cbf1ebfb39234d764ade2f907c5ca0b5.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions