diff options
author | Toke Høiland-Jørgensen <toke@redhat.com> | 2023-08-24 12:22:45 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-08-24 08:43:50 -0700 |
commit | 91dda69b08de93465632561701a337ec18321ea4 (patch) | |
tree | 3a1b6720336cfe45a54ee8fa3aa62c514a30b10f /Kbuild | |
parent | e7c9e73d082252ecd026f7e01d8015a347c375c1 (diff) | |
download | linux-stable-91dda69b08de93465632561701a337ec18321ea4.tar.gz linux-stable-91dda69b08de93465632561701a337ec18321ea4.tar.bz2 linux-stable-91dda69b08de93465632561701a337ec18321ea4.zip |
samples/bpf: Remove the xdp_redirect* utilities
These utilities have all been ported to xdp-tools as functions of the
xdp-bench utility. The four different utilities in samples are incorporated
as separate subcommands to xdp-bench, with most of the command line
parameters left intact, except that mandatory arguments are always
positional in xdp-bench. For full usage details see the --help output of
each command, or the xdp-bench man page.
Some examples of how to convert usage to xdp-bench are:
xdp_redirect eth0 eth1
--> xdp-bench redirect eth0 eth1
xdp_redirect_map eth0 eth1
--> xdp-bench redirect-map eth0 eth1
xdp_redirect_map_multi eth0 eth1 eth2 eth3
--> xdp-bench redirect-multi eth0 eth1 eth2 eth3
xdp_redirect_cpu -d eth0 -c 0 -c 1
--> xdp-bench redirect-cpu -c 0 -c 1 eth0
xdp_redirect_cpu -d eth0 -c 0 -c 1 -r eth1
--> xdp-bench redirect-cpu -c 0 -c 1 eth0 -r redirect -D eth1
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/r/20230824102255.1561885-3-toke@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions