Skip to content

Commit

Permalink
xdp-bench: Fix packet-operation values in documentation
Browse files Browse the repository at this point in the history
Update the readme and manpage to match the values in xdp-bench.c.

Signed-off-by: Nimrod Oren <[email protected]>
  • Loading branch information
nimrod-oren authored and tohojo committed Apr 2, 2024
1 parent cecda0c commit 509e248
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions xdp-bench/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ following actions are available:

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

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

#+begin_src sh
no-touch - Transmit the packet without touching the packet data
touch - Read a field in the packet header before transmitting
read-data - Read a field in the packet header before transmitting
parse-ip - Parse the IP header field before transmitting
swap-macs - Swap the source and destination MAC addresses before transmitting
#+end_src
Expand Down
6 changes: 3 additions & 3 deletions xdp-bench/xdp-bench.8
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ following actions are available:
.RS
.nf
\fCno-touch - Drop the packet without touching the packet data
touch - Read a field in the packet header before dropping
read-data - Read a field in the packet header before dropping
parse-ip - Parse the IP header field before dropping
swap-macs - Swap the source and destination MAC addresses before dropping
\fP
Expand Down Expand Up @@ -179,7 +179,7 @@ following actions are available:
.RS
.nf
\fCno-touch - Pass the packet without touching the packet data
touch - Read a field in the packet header before passing
read-data - Read a field in the packet header before passing
parse-ip - Parse the IP header field before passing
swap-macs - Swap the source and destination MAC addresses before passing
\fP
Expand Down Expand Up @@ -277,7 +277,7 @@ following actions are available:
.RS
.nf
\fCno-touch - Transmit the packet without touching the packet data
touch - Read a field in the packet header before transmitting
read-data - Read a field in the packet header before transmitting
parse-ip - Parse the IP header field before transmitting
swap-macs - Swap the source and destination MAC addresses before transmitting
\fP
Expand Down

0 comments on commit 509e248

Please sign in to comment.