diff options
author | Xavier Simonart <xavier.simonart@intel.com> | 2019-10-12 23:36:41 +0200 |
---|---|---|
committer | Xavier Simonart <xavier.simonart@intel.com> | 2019-10-13 00:38:33 +0200 |
commit | 516ed17e6c6c59ab0ed4cd868a1205455cfe47ef (patch) | |
tree | df88f531f02534ba3f7cb34f52d7faa60717e310 /VNFs/DPPD-PROX/config | |
parent | b9af66b18bf298f292c62339b0ca41595a3e6b56 (diff) |
Increase the default number of rx and tx descriptors to 2K
A high number of RX descriptor can be helpful in avoiding
packet loss due to the core being interrupted.
This commit increases the default number of descriptors from 256 to 2K.
Those values are checked versus the minimum and maximum supported by the pmd.
Number of mbufs (mempool size) have been updated n config files to support this
default number of dsescriptors.
The number of descriptors can still be overwritten by the config file. However
those values must always remain within the limits reported by the pmd.
Change-Id: I5f7999eca886dad68f3c0733da0d796bf4c06a56
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/config')
-rw-r--r-- | VNFs/DPPD-PROX/config/cgnat.cfg | 2 | ||||
-rw-r--r-- | VNFs/DPPD-PROX/config/l2fwd-4ports.cfg | 2 | ||||
-rw-r--r-- | VNFs/DPPD-PROX/config/l3fwd-4ports.cfg | 2 | ||||
-rw-r--r-- | VNFs/DPPD-PROX/config/mcast.cfg | 2 | ||||
-rw-r--r-- | VNFs/DPPD-PROX/config/nop-rings.cfg | 2 | ||||
-rw-r--r-- | VNFs/DPPD-PROX/config/nop.cfg | 2 | ||||
-rw-r--r-- | VNFs/DPPD-PROX/config/nsh_acl.cfg | 2 | ||||
-rw-r--r-- | VNFs/DPPD-PROX/config/nsh_nat.cfg | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/VNFs/DPPD-PROX/config/cgnat.cfg b/VNFs/DPPD-PROX/config/cgnat.cfg index 4015d3ab..cae02c7e 100644 --- a/VNFs/DPPD-PROX/config/cgnat.cfg +++ b/VNFs/DPPD-PROX/config/cgnat.cfg @@ -30,7 +30,7 @@ nat_table = dofile("cgnat_table.lua") lpm4 = dofile("ipv4_1port.lua") [defaults] -mempool size=4K +mempool size=8K [global] start time=5 diff --git a/VNFs/DPPD-PROX/config/l2fwd-4ports.cfg b/VNFs/DPPD-PROX/config/l2fwd-4ports.cfg index 27fd08e5..70496063 100644 --- a/VNFs/DPPD-PROX/config/l2fwd-4ports.cfg +++ b/VNFs/DPPD-PROX/config/l2fwd-4ports.cfg @@ -32,7 +32,7 @@ name=if3 mac=50:00:00:00:00:04 [defaults] -mempool size=4K +mempool size=8K [global] start time=5 diff --git a/VNFs/DPPD-PROX/config/l3fwd-4ports.cfg b/VNFs/DPPD-PROX/config/l3fwd-4ports.cfg index 3c452b0e..a8cae86f 100644 --- a/VNFs/DPPD-PROX/config/l3fwd-4ports.cfg +++ b/VNFs/DPPD-PROX/config/l3fwd-4ports.cfg @@ -32,7 +32,7 @@ name=if3 mac=50:00:00:00:00:04 [defaults] -mempool size=4K +mempool size=8K [lua] lpm4 = dofile("ipv4.lua") diff --git a/VNFs/DPPD-PROX/config/mcast.cfg b/VNFs/DPPD-PROX/config/mcast.cfg index 3e673e57..9257c85a 100644 --- a/VNFs/DPPD-PROX/config/mcast.cfg +++ b/VNFs/DPPD-PROX/config/mcast.cfg @@ -46,7 +46,7 @@ multicast=01:00:5e:00:00:04 $mbs=8 [defaults] -mempool size=4K +mempool size=8K [global] start time=5 diff --git a/VNFs/DPPD-PROX/config/nop-rings.cfg b/VNFs/DPPD-PROX/config/nop-rings.cfg index 000353ad..7513c433 100644 --- a/VNFs/DPPD-PROX/config/nop-rings.cfg +++ b/VNFs/DPPD-PROX/config/nop-rings.cfg @@ -67,7 +67,7 @@ rx_ring=dpdkr3_tx tx_ring=dpdkr3_rx [defaults] -mempool size=4K +mempool size=8K [global] start time=5 diff --git a/VNFs/DPPD-PROX/config/nop.cfg b/VNFs/DPPD-PROX/config/nop.cfg index 757b1eda..2741b41c 100644 --- a/VNFs/DPPD-PROX/config/nop.cfg +++ b/VNFs/DPPD-PROX/config/nop.cfg @@ -44,7 +44,7 @@ name=if3 mac=hardware [defaults] -mempool size=2K +mempool size=8K [global] start time=5 diff --git a/VNFs/DPPD-PROX/config/nsh_acl.cfg b/VNFs/DPPD-PROX/config/nsh_acl.cfg index 2893bd4d..6ad1d5fc 100644 --- a/VNFs/DPPD-PROX/config/nsh_acl.cfg +++ b/VNFs/DPPD-PROX/config/nsh_acl.cfg @@ -28,7 +28,7 @@ mac=hardware acl_table=dofile("acl_table.lua") [defaults] -mempool size=4K +mempool size=8K [global] start time=5 diff --git a/VNFs/DPPD-PROX/config/nsh_nat.cfg b/VNFs/DPPD-PROX/config/nsh_nat.cfg index bb3bf4bc..3ae82c47 100644 --- a/VNFs/DPPD-PROX/config/nsh_nat.cfg +++ b/VNFs/DPPD-PROX/config/nsh_nat.cfg @@ -28,7 +28,7 @@ mac=hardware nat_table = dofile("nat_table.lua") [defaults] -mempool size=4K +mempool size=8K [global] start time=5 |