diff options
Diffstat (limited to 'VNFs/DPPD-PROX/handle_nop.c')
-rw-r--r-- | VNFs/DPPD-PROX/handle_nop.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/VNFs/DPPD-PROX/handle_nop.c b/VNFs/DPPD-PROX/handle_nop.c index b3eef54c..4d10a365 100644 --- a/VNFs/DPPD-PROX/handle_nop.c +++ b/VNFs/DPPD-PROX/handle_nop.c @@ -22,9 +22,8 @@ static struct task_init task_init_nop_thrpt_opt = { .init = NULL, .handle = handle_nop_bulk, .thread_x = thread_nop, - .flag_features = TASK_FEATURE_NEVER_DISCARDS|TASK_FEATURE_TXQ_FLAGS_NOOFFLOADS|TASK_FEATURE_TXQ_FLAGS_NOMULTSEGS|TASK_FEATURE_THROUGHPUT_OPT|TASK_FEATURE_MULTI_RX, + .flag_features = TASK_FEATURE_NEVER_DISCARDS|TASK_FEATURE_TXQ_FLAGS_NOOFFLOADS|TASK_FEATURE_THROUGHPUT_OPT|TASK_FEATURE_MULTI_RX, .size = sizeof(struct task_nop), - .mbuf_size = 2048 + sizeof(struct rte_mbuf) + RTE_PKTMBUF_HEADROOM, }; static struct task_init task_init_nop_lat_opt = { @@ -33,9 +32,8 @@ static struct task_init task_init_nop_lat_opt = { .init = NULL, .handle = handle_nop_bulk, .thread_x = thread_nop, - .flag_features = TASK_FEATURE_NEVER_DISCARDS|TASK_FEATURE_TXQ_FLAGS_NOOFFLOADS|TASK_FEATURE_TXQ_FLAGS_NOMULTSEGS|TASK_FEATURE_MULTI_RX, + .flag_features = TASK_FEATURE_NEVER_DISCARDS|TASK_FEATURE_TXQ_FLAGS_NOOFFLOADS|TASK_FEATURE_MULTI_RX, .size = sizeof(struct task_nop), - .mbuf_size = 2048 + sizeof(struct rte_mbuf) + RTE_PKTMBUF_HEADROOM, }; static struct task_init task_init_none; |