Skip to content

Commit 20bb951

Browse files
authored
Merge pull request #112 from CESNET/dpdkhelp_fixtypo
dpdk: improved help
2 parents be0d3e6 + 5be023e commit 20bb951

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,10 @@ Here are the examples of various plugins usage:
148148
149149
# Read packets using DPDK input interface and 1 DPDK queue, enable plugins for basic statistics, http and tls, output to IPFIX on a local machine
150150
# DPDK EAL parameters are passed in `e, eal` parameters
151-
# DPDK plugin configuration has to be specified in the first input interface, others dpdk interfaces inherit configuration from the first interface
152-
For example: `./ipfixprobe -i "dpdk;p=0,q=1,e=-c 0x1 -a <[domain:]bus:devid.func>" -p http "-p" bstats -p tls -o "ipfix;h=127.0.0.1"`
151+
# DPDK plugin configuration has to be specified in the first input interface.
152+
# The following `dpdk` interfaces are given without parameters; their configuration is inherited from the first one.
153+
# Example for the queue of 3 DPDK input plugins (`q=3`):
154+
`./ipfixprobe -i "dpdk;p=0,q=3,e=-c 0x1 -a <[domain:]bus:devid.func>" -i dpdk -i dpdk -p http "-p" bstats -p tls -o "ipfix;h=127.0.0.1"`
153155
```
154156

155157
## Extension

input/dpdk.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class DpdkOptParser : public OptionsParser {
9595
"q",
9696
"queue",
9797
"COUNT",
98-
"Number of RX quues. Default: 1",
98+
"Number of RX queues. Default: 1",
9999
[this](const char* arg) {try{rx_queues_ = str2num<decltype(rx_queues_)>(arg);} catch (std::invalid_argument&){return false;} return true; },
100100
RequiredArgument);
101101
register_option(

0 commit comments

Comments
 (0)