Skip to content

Commit 509e248

Browse files
nimrod-orentohojo
authored andcommitted
xdp-bench: Fix packet-operation values in documentation
Update the readme and manpage to match the values in xdp-bench.c. Signed-off-by: Nimrod Oren <[email protected]>
1 parent cecda0c commit 509e248

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

xdp-bench/README.org

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ following actions are available:
6666

6767
#+begin_src sh
6868
no-touch - Drop the packet without touching the packet data
69-
touch - Read a field in the packet header before dropping
69+
read-data - Read a field in the packet header before dropping
7070
parse-ip - Parse the IP header field before dropping
7171
swap-macs - Swap the source and destination MAC addresses before dropping
7272
#+end_src
@@ -146,7 +146,7 @@ following actions are available:
146146

147147
#+begin_src sh
148148
no-touch - Pass the packet without touching the packet data
149-
touch - Read a field in the packet header before passing
149+
read-data - Read a field in the packet header before passing
150150
parse-ip - Parse the IP header field before passing
151151
swap-macs - Swap the source and destination MAC addresses before passing
152152
#+end_src
@@ -221,7 +221,7 @@ following actions are available:
221221

222222
#+begin_src sh
223223
no-touch - Transmit the packet without touching the packet data
224-
touch - Read a field in the packet header before transmitting
224+
read-data - Read a field in the packet header before transmitting
225225
parse-ip - Parse the IP header field before transmitting
226226
swap-macs - Swap the source and destination MAC addresses before transmitting
227227
#+end_src

xdp-bench/xdp-bench.8

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ following actions are available:
7575
.RS
7676
.nf
7777
\fCno-touch - Drop the packet without touching the packet data
78-
touch - Read a field in the packet header before dropping
78+
read-data - Read a field in the packet header before dropping
7979
parse-ip - Parse the IP header field before dropping
8080
swap-macs - Swap the source and destination MAC addresses before dropping
8181
\fP
@@ -179,7 +179,7 @@ following actions are available:
179179
.RS
180180
.nf
181181
\fCno-touch - Pass the packet without touching the packet data
182-
touch - Read a field in the packet header before passing
182+
read-data - Read a field in the packet header before passing
183183
parse-ip - Parse the IP header field before passing
184184
swap-macs - Swap the source and destination MAC addresses before passing
185185
\fP
@@ -277,7 +277,7 @@ following actions are available:
277277
.RS
278278
.nf
279279
\fCno-touch - Transmit the packet without touching the packet data
280-
touch - Read a field in the packet header before transmitting
280+
read-data - Read a field in the packet header before transmitting
281281
parse-ip - Parse the IP header field before transmitting
282282
swap-macs - Swap the source and destination MAC addresses before transmitting
283283
\fP

0 commit comments

Comments
 (0)