aboutsummaryrefslogtreecommitdiffstats
path: root/examples/l4fwd/README
diff options
context:
space:
mode:
authorMariusz Drost <mariuszx.drost@intel.com>2020-03-02 13:30:25 +0000
committerMariusz Drost <mariuszx.drost@intel.com>2020-03-03 14:17:42 +0000
commit74a565176eeabe32fb2c4cb7c338b8441f51c1f0 (patch)
treeb80bec9c33344112db01fc3dc549c62cf70aeb22 /examples/l4fwd/README
parent3082ee6bf092482074b26a5bbf34b3e417930c59 (diff)
l4fwd: Add new cmd-line parameter --mbuf-num
In some cases default value of MPOOL_NB_BUF is too large. Because of that new cmd-line parameter is added (--mbuf-num/-M), so user can define that value directly before running an application. Introduced parameter is optional. Default value of MPOOL_NB_BUF (0x20000) is preserved. Signed-off-by: Mariusz Drost <mariuszx.drost@intel.com> Change-Id: I9517955f313b6e97da1bb20c50b25e761430e0a8
Diffstat (limited to 'examples/l4fwd/README')
-rw-r--r--examples/l4fwd/README1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/l4fwd/README b/examples/l4fwd/README
index dc3dc67..328f7ef 100644
--- a/examples/l4fwd/README
+++ b/examples/l4fwd/README
@@ -139,6 +139,7 @@
-K | --seckey <string> /* 16 character long secret key used by */ \
/* hash algorithms to generate the */ \
/* sequence number. */ \
+ -M | --mbuf-num <num> /* other than default number of mbufs per pool. */ \
<port0_params> <port1_params> ... <portN_params>
Note that: options -U and -T cannot be used together.