diff options
Diffstat (limited to 'VNFs/DPPD-PROX/handle_nat.c')
-rw-r--r-- | VNFs/DPPD-PROX/handle_nat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/VNFs/DPPD-PROX/handle_nat.c b/VNFs/DPPD-PROX/handle_nat.c index 23d7ad87..dff53d61 100644 --- a/VNFs/DPPD-PROX/handle_nat.c +++ b/VNFs/DPPD-PROX/handle_nat.c @@ -182,12 +182,11 @@ static struct task_init task_init_nat = { .init = init_task_nat, .handle = handle_nat_bulk, #ifdef SOFT_CRC - .flag_features = TASK_FEATURE_TXQ_FLAGS_NOOFFLOADS|TASK_FEATURE_TXQ_FLAGS_NOMULTSEGS, + .flag_features = TASK_FEATURE_TXQ_FLAGS_NOOFFLOADS, #else - .flag_features = TASK_FEATURE_TXQ_FLAGS_NOMULTSEGS, + .flag_features = 0, #endif .size = sizeof(struct task_nat), - .mbuf_size = 2048 + sizeof(struct rte_mbuf) + RTE_PKTMBUF_HEADROOM, }; __attribute__((constructor)) static void reg_task_nat(void) |