Usage option q is reflect how many port-queue pair can run per lcore. In l2fwd, l2fwd-crypto, l2fwd-jobstats, and l2fwd-keepalive both RX and TX are configured to be one.
Signed-off-by: Vipin Varghese <vipin.vargh...@intel.com> --- examples/l2fwd-crypto/main.c | 2 +- examples/l2fwd-jobstats/main.c | 2 +- examples/l2fwd-keepalive/main.c | 2 +- examples/l2fwd/main.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index 06517b471..30c85d1ce 100644 --- a/examples/l2fwd-crypto/main.c +++ b/examples/l2fwd-crypto/main.c @@ -955,7 +955,7 @@ l2fwd_crypto_usage(const char *prgname) { printf("%s [EAL options] --\n" " -p PORTMASK: hexadecimal bitmask of ports to configure\n" - " -q NQ: number of queue (=ports) per lcore (default is 1)\n" + " -q NQ: number of ports per lcore (default is 1)\n" " -s manage all ports from single lcore\n" " -T PERIOD: statistics will be refreshed each PERIOD seconds" " (0 to disable, 10 default, 86400 maximum)\n" diff --git a/examples/l2fwd-jobstats/main.c b/examples/l2fwd-jobstats/main.c index a4d28e178..7841adf99 100644 --- a/examples/l2fwd-jobstats/main.c +++ b/examples/l2fwd-jobstats/main.c @@ -547,7 +547,7 @@ l2fwd_usage(const char *prgname) { printf("%s [EAL options] -- -p PORTMASK [-q NQ]\n" " -p PORTMASK: hexadecimal bitmask of ports to configure\n" - " -q NQ: number of queue (=ports) per lcore (default is 1)\n" + " -q NQ: number of ports per lcore (default is 1)\n" " -T PERIOD: statistics will be refreshed each PERIOD seconds (0 to disable, 10 default, 86400 maximum)\n" " -l set system default locale instead of default (\"C\" locale) for thousands separator in stats.", prgname); diff --git a/examples/l2fwd-keepalive/main.c b/examples/l2fwd-keepalive/main.c index 0bf2b5336..fa0f5848a 100644 --- a/examples/l2fwd-keepalive/main.c +++ b/examples/l2fwd-keepalive/main.c @@ -290,7 +290,7 @@ l2fwd_usage(const char *prgname) { printf("%s [EAL options] -- -p PORTMASK [-q NQ]\n" " -p PORTMASK: hexadecimal bitmask of ports to configure\n" - " -q NQ: number of queue (=ports) per lcore (default is 1)\n" + " -q NQ: number of ports per lcore (default is 1)\n" " -K PERIOD: Keepalive check period (5 default; 86400 max)\n" " -T PERIOD: statistics will be refreshed each PERIOD seconds (0 to disable, 10 default, 86400 maximum)\n", prgname); diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c index 6c23215a5..7694d42e6 100644 --- a/examples/l2fwd/main.c +++ b/examples/l2fwd/main.c @@ -293,7 +293,7 @@ l2fwd_usage(const char *prgname) { printf("%s [EAL options] -- -p PORTMASK [-q NQ]\n" " -p PORTMASK: hexadecimal bitmask of ports to configure\n" - " -q NQ: number of queue (=ports) per lcore (default is 1)\n" + " -q NQ: number of ports per lcore (default is 1)\n" " -T PERIOD: statistics will be refreshed each PERIOD seconds (0 to disable, 10 default, 86400 maximum)\n" " --[no-]mac-updating: Enable or disable MAC addresses updating (enabled by default)\n" " When enabled:\n" -- 2.17.1