diff options
author | Xavier Simonart <xavier.simonart@intel.com> | 2018-04-15 15:14:01 +0200 |
---|---|---|
committer | Xavier Simonart <xavier.simonart@intel.com> | 2018-04-26 01:22:09 +0200 |
commit | e12ec1f7d2b4fe8c28650e6cd53cae660ea96ec1 (patch) | |
tree | 0ee2bd83d1881997a081fecfa1a87b7f642ed521 /VNFs/DPPD-PROX/defaults.h | |
parent | ca2085d3c7a630da6a1f28ee49b605d214d6b2e7 (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/defaults.h')
-rw-r--r-- | VNFs/DPPD-PROX/defaults.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/VNFs/DPPD-PROX/defaults.h b/VNFs/DPPD-PROX/defaults.h index 573cc9c5..4cf3cf7a 100644 --- a/VNFs/DPPD-PROX/defaults.h +++ b/VNFs/DPPD-PROX/defaults.h @@ -26,9 +26,10 @@ void set_global_defaults(struct prox_cfg* prox_cfg); void set_task_defaults(struct prox_cfg* prox_cfg, struct lcore_cfg* lcore_cfg_init); void set_port_defaults(void); +#define MAX_PKT_SIZE 10000 #define MAX_PKT_BURST 64 #define MAX_RING_BURST 64 -#define DUMP_PKT_LEN 128 +#define DUMP_PKT_LEN MAX_PKT_SIZE #if MAX_RING_BURST < MAX_PKT_BURST #error MAX_RING_BURST < MAX_PKT_BURST |