[dpdk-dev] [PATCH v3 2/2] examples/l2fwd: remove mac-updating option

2021-06-21 Thread SunChengLian
The "mac-updating" option can be removed since the associated mac_updating variable is set to 1 by default. Signed-off-by: SunChengLian Reviewed-by: David Marchand --- examples/l2fwd/main.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/examples/l2

[dpdk-dev] [PATCH v3 1/2] examples/l2fwd: fix long option parsing

2021-06-21 Thread SunChengLian
.@dpdk.org Signed-off-by: SunChengLian Reviewed-by: David Marchand --- examples/l2fwd/main.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c index ffb67bb901..23e5e46761 100644 --- a/examples/l2fwd/main.c +++ b/exam

[dpdk-dev] [PATCH v2 2/2] examples/l2fwd: remove mac-updating option

2021-06-11 Thread SunChengLian
The "mac-updating" option can be removed since the associated mac_updating variable is set to 1 by default. Signed-off-by: SunChengLian --- examples/l2fwd/main.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/l2fwd/main.c b/examples/l2fwd/ma

[dpdk-dev] [PATCH v2 1/2] examples/l2fwd: fix long option parsing

2021-06-11 Thread SunChengLian
For l2fwd, --no-mac-updating and --mac-updating are treated as invalid arguments.Rework long options parsing to let --no-mac-updating and --mac-updating options work well. Fixes: fa19eb20d212 ("examples/l2fwd: add forwarding port mapping option") Cc: sta...@dpdk.org Signed-off-by: Su

[dpdk-dev] [PATCH] examples/l2fwd: fix l2fwd long options parse issue

2021-06-09 Thread SunChengLian
Readd other long options case in l2fwd_parse_args function to ensure all long options will work well. Fixes: fa19eb20d2126d8bc63acc8f336a353dfaf8c354 ("examples/l2fwd: add forwarding port mapping option") Cc: sta...@dpdk.org Signed-off-by: SunChengLian --- examples/l2fwd/main.c