summaryrefslogtreecommitdiffstats
path: root/VNFs/DPPD-PROX/cfgfile.h
diff options
context:
space:
mode:
authorXavier Simonart <xavier.simonart@intel.com>2018-04-15 15:14:01 +0200
committerXavier Simonart <xavier.simonart@intel.com>2018-04-26 01:22:09 +0200
commite12ec1f7d2b4fe8c28650e6cd53cae660ea96ec1 (patch)
tree0ee2bd83d1881997a081fecfa1a87b7f642ed521 /VNFs/DPPD-PROX/cfgfile.h
parentca2085d3c7a630da6a1f28ee49b605d214d6b2e7 (diff)
Support reading inline jumbo frame and dump them
Add support for pkt_inline of jumbo frames. Dump the whole packet, and not a truncated packet. This might have a small impact on performance as the memory footprint is increased (by ~640K * number of tasks), resulting in potential higher DTLB misses. Change-Id: I4ed02be7ca899db4f8f97355c180a92d69d39d8f Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/cfgfile.h')
-rw-r--r--VNFs/DPPD-PROX/cfgfile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/VNFs/DPPD-PROX/cfgfile.h b/VNFs/DPPD-PROX/cfgfile.h
index 41b474ee..c0de4f16 100644
--- a/VNFs/DPPD-PROX/cfgfile.h
+++ b/VNFs/DPPD-PROX/cfgfile.h
@@ -18,6 +18,7 @@
#define _CFG_FILE_H_
#include <stdio.h>
+#include "defaults.h"
#define DEFAULT_CONFIG_FILE "./prox.cfg"
@@ -38,7 +39,7 @@ struct cfg_section {
int error;
};
-#define MAX_CFG_STRING_LEN 8192
+#define MAX_CFG_STRING_LEN (3 * MAX_PKT_SIZE)
#define STRING_TERMINATOR_LEN 4
struct cfg_file {