From e12ec1f7d2b4fe8c28650e6cd53cae660ea96ec1 Mon Sep 17 00:00:00 2001 From: Xavier Simonart Date: Sun, 15 Apr 2018 15:14:01 +0200 Subject: 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 --- VNFs/DPPD-PROX/task_init.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'VNFs/DPPD-PROX/task_init.h') diff --git a/VNFs/DPPD-PROX/task_init.h b/VNFs/DPPD-PROX/task_init.h index c5a17796..a8ac14c9 100644 --- a/VNFs/DPPD-PROX/task_init.h +++ b/VNFs/DPPD-PROX/task_init.h @@ -194,7 +194,7 @@ struct task_args { uint32_t bucket_size; uint32_t lat_enabled; uint32_t pkt_size; - uint8_t pkt_inline[ETHER_MAX_LEN]; + uint8_t pkt_inline[MAX_PKT_SIZE]; uint32_t probability; char nat_table[256]; uint32_t use_src; -- cgit 1.2.3-korg