From fe188fd8260c3ba4e28df0234243ce0be1bb098e Mon Sep 17 00:00:00 2001 From: Tomas Cejka Date: Tue, 13 Dec 2022 20:00:43 +0100 Subject: [PATCH 1/2] dpdk: fixed typo in help --- input/dpdk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/dpdk.h b/input/dpdk.h index 86460555..9b172678 100644 --- a/input/dpdk.h +++ b/input/dpdk.h @@ -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(arg);} catch (std::invalid_argument&){return false;} return true; }, RequiredArgument); register_option( From 5be023e357d29e733e36819aff0d39356e097014 Mon Sep 17 00:00:00 2001 From: Tomas Cejka Date: Tue, 13 Dec 2022 23:32:59 +0100 Subject: [PATCH 2/2] doc: improved readme - DPDK example --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 931b8b68..800a6f3c 100644 --- a/README.md +++ b/README.md @@ -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