Increase the default number of rx and tx descriptors to 2K 21/68621/2
authorXavier Simonart <xavier.simonart@intel.com>
Sat, 12 Oct 2019 21:36:41 +0000 (23:36 +0200)
committerXavier Simonart <xavier.simonart@intel.com>
Sat, 12 Oct 2019 22:38:33 +0000 (00:38 +0200)
commit516ed17e6c6c59ab0ed4cd868a1205455cfe47ef
treedf88f531f02534ba3f7cb34f52d7faa60717e310
parentb9af66b18bf298f292c62339b0ca41595a3e6b56
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>
12 files changed:
VNFs/DPPD-PROX/config/cgnat.cfg
VNFs/DPPD-PROX/config/l2fwd-4ports.cfg
VNFs/DPPD-PROX/config/l3fwd-4ports.cfg
VNFs/DPPD-PROX/config/mcast.cfg
VNFs/DPPD-PROX/config/nop-rings.cfg
VNFs/DPPD-PROX/config/nop.cfg
VNFs/DPPD-PROX/config/nsh_acl.cfg
VNFs/DPPD-PROX/config/nsh_nat.cfg
VNFs/DPPD-PROX/defaults.c
VNFs/DPPD-PROX/helper-scripts/rapid/swap.cfg
VNFs/DPPD-PROX/prox_port_cfg.c
VNFs/DPPD-PROX/prox_port_cfg.h