Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,10 @@ Here are the examples of various plugins usage:

# 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
# DPDK EAL parameters are passed in `e, eal` parameters
# DPDK plugin configuration has to be specified in the first input interface, others dpdk interfaces inherit configuration from the first interface
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"`
# DPDK plugin configuration has to be specified in the first input interface.
# The following `dpdk` interfaces are given without parameters; their configuration is inherited from the first one.
# Example for the queue of 3 DPDK input plugins (`q=3`):
`./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"`
```

## Extension
Expand Down
2 changes: 1 addition & 1 deletion input/dpdk.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class DpdkOptParser : public OptionsParser {
"q",
"queue",
"COUNT",
"Number of RX quues. Default: 1",
"Number of RX queues. Default: 1",
[this](const char* arg) {try{rx_queues_ = str2num<decltype(rx_queues_)>(arg);} catch (std::invalid_argument&){return false;} return true; },
RequiredArgument);
register_option(
Expand Down