summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Provoost <luc.provoost@intel.com>2019-12-02 10:38:35 -0500
committerLuc Provoost <luc.provoost@intel.com>2019-12-02 10:50:40 -0500
commit6bc602d32e2f29c48a566ffe008f12c947f7609e (patch)
treea70f23c4afcd20e579a093d322ed47e6d1e36e7c
parent30c2cccc1cc31ed0552a5e342e44a37bec550680 (diff)
Fix mempool size for swap.cfg
Fixing an error re-introduced in the swap.cfg file. The mempool size needs to be bigger than the number of rx and tx descriptors (we need some extra buffers in the mempool for other things than rx and tx descriptors). The default number of tx and rx descriptors has been changed in PROX to 2K. This initially went through the testing since this is just giving a warning in the prox.log file for some PMDs. For other PMDs, PROX will not start. Also fixed an inconsistency in rapid.vms: name of the security group. Change-Id: If95677bd6169a16da1b3b2a56d13936a854c385e Signed-off-by: Luc Provoost <luc.provoost@intel.com>
-rw-r--r--VNFs/DPPD-PROX/helper-scripts/rapid/rapid.vms2
-rw-r--r--VNFs/DPPD-PROX/helper-scripts/rapid/swap.cfg2
2 files changed, 2 insertions, 2 deletions
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid.vms b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid.vms
index 6032f68b..a790540f 100644
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid.vms
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid.vms
@@ -23,7 +23,7 @@ flavor_info=--ram 4096 --disk 40 --vcpus 4
flavor_meta_data=--property hw:mem_page_size=large --property hw:cpu_policy=dedicated
;flavor_meta_data=--property hw:mem_page_size=large --property hw:cpu_policy=dedicated --property hw:cpu_realtime=yes --property hw:cpu_realtime_mask=^0
;boot_info=--availability-zone nova --security-group default --config-drive=true
-boot_info=--availability-zone nova --security-group prox
+boot_info=--availability-zone nova --security-group prox_security_group
SRIOV_mgmt_port=NO
SRIOV_port=NO
diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/swap.cfg b/VNFs/DPPD-PROX/helper-scripts/rapid/swap.cfg
index aeaa9db8..284294e0 100644
--- a/VNFs/DPPD-PROX/helper-scripts/rapid/swap.cfg
+++ b/VNFs/DPPD-PROX/helper-scripts/rapid/swap.cfg
@@ -27,7 +27,7 @@ mac=hardware
vlan=yes
[defaults]
-mempool size=2K
+mempool size=8K
[global]
name=${name}