Commit 91dda69
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>1 parent e7c9e73 commit 91dda69
9 files changed
Lines changed: 1 addition & 1981 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 54 | | |
60 | 55 | | |
61 | 56 | | |
| |||
111 | 106 | | |
112 | 107 | | |
113 | 108 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | 109 | | |
119 | 110 | | |
120 | 111 | | |
| |||
205 | 196 | | |
206 | 197 | | |
207 | 198 | | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | 199 | | |
213 | 200 | | |
214 | 201 | | |
| |||
323 | 310 | | |
324 | 311 | | |
325 | 312 | | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | 313 | | |
331 | 314 | | |
332 | 315 | | |
| |||
379 | 362 | | |
380 | 363 | | |
381 | 364 | | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | 365 | | |
387 | 366 | | |
388 | 367 | | |
| |||
393 | 372 | | |
394 | 373 | | |
395 | 374 | | |
396 | | - | |
397 | | - | |
398 | | - | |
| 375 | + | |
399 | 376 | | |
400 | 377 | | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | 378 | | |
406 | 379 | | |
407 | 380 | | |
| |||
This file was deleted.
0 commit comments