summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/prox_port_cfg.h
diff options
context:
space:
mode:
authorXavier Simonart <xavier.simonart@intel.com>2019-10-12 23:36:41 +0200
committerXavier Simonart <xavier.simonart@intel.com>2019-10-13 00:38:33 +0200
commit516ed17e6c6c59ab0ed4cd868a1205455cfe47ef (patch)
treedf88f531f02534ba3f7cb34f52d7faa60717e310 /VNFs/DPPD-PROX/prox_port_cfg.h
parentb9af66b18bf298f292c62339b0ca41595a3e6b56 (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/prox_port_cfg.h')
-rw-r--r--VNFs/DPPD-PROX/prox_port_cfg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/prox_port_cfg.h b/VNFs/DPPD-PROX/prox_port_cfg.h
index c025c03..6a02cf0 100644
--- a/VNFs/DPPD-PROX/prox_port_cfg.h
+++ b/VNFs/DPPD-PROX/prox_port_cfg.h
@@ -72,6 +72,10 @@ struct prox_port_cfg {
} capabilities;
uint32_t max_rx_pkt_len;
uint32_t min_rx_bufsize;
+ uint16_t min_rx_desc;
+ uint16_t max_rx_desc;
+ uint16_t min_tx_desc;
+ uint16_t max_tx_desc;
uint32_t nb_mc_addr;
struct ether_addr mc_addr[NB_MCAST_ADDR];
};