diff options
author | 2021-12-20 12:55:09 +0000 | |
---|---|---|
committer | 2021-12-20 12:56:36 +0000 | |
commit | dd3150931f364f614bc20436ffe3b9a74760e9ef (patch) | |
tree | 082c8f08c23e3769808aa2916ca9d6a02b712ed7 /VNFs/DPPD-PROX/prox_args.c | |
parent | d08d92ed360dab327b786fd251224f763dc0a5ac (diff) |
swap: add option to prevent swapping geneve packets
Now a warning will only be printed for the first geneve packet not swapped
Signed-off-by: Xavier Simonart <simonartxavier@gmail.com>
Change-Id: Ied424ce8fef9019ce2d4409391dc8001ed0b5ff7
Diffstat (limited to 'VNFs/DPPD-PROX/prox_args.c')
-rw-r--r-- | VNFs/DPPD-PROX/prox_args.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/VNFs/DPPD-PROX/prox_args.c b/VNFs/DPPD-PROX/prox_args.c index c092e879..bd2b59a8 100644 --- a/VNFs/DPPD-PROX/prox_args.c +++ b/VNFs/DPPD-PROX/prox_args.c @@ -920,6 +920,9 @@ static int get_core_cfg(unsigned sindex, char *str, void *data) return parse_flag(&targ->runtime_flags, TASK_FP_HANDLE_ARP, pkey); } + if (STR_EQ(str, "do not forward geneve")) { + return parse_flag(&targ->runtime_flags, TASK_DO_NOT_FWD_GENEVE, pkey); + } /* Using tx port name, only a _single_ port can be assigned to a task. */ if (STR_EQ(str, "tx port")) { if (targ->nb_txports > 0) { |