From: RickZhong <winsome8282@163.com>
To: dev@dpdk.org
Cc: RickZhong <winsome8282@163.com>
Subject: [dpdk-dev] [PATCH] fix l2fwd --no-mac-updating not working issue
Date: Mon, 28 Jun 2021 17:08:35 +0800 [thread overview]
Message-ID: <20210628090834.71199-1-winsome8282@163.com> (raw)
The original disable mac updating codes were removed by mistake.
Signed-off-by: RickZhong <winsome8282@163.com>
---
examples/l2fwd/main.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c
index 32d405e65..69d0087dc 100644
--- a/examples/l2fwd/main.c
+++ b/examples/l2fwd/main.c
@@ -491,6 +491,10 @@ l2fwd_parse_args(int argc, char **argv)
timer_period = timer_secs;
break;
+ /* no-mac-updating */
+ case 0:
+ break;
+
/* long options */
case CMD_LINE_OPT_PORTMAP_NUM:
ret = l2fwd_parse_port_pair_config(optarg);
--
2.27.0
next reply other threads:[~2021-06-28 9:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-28 9:08 RickZhong [this message]
2021-06-28 9:25 ` David Marchand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210628090834.71199-1-winsome8282@163.com \
--to=winsome8282@163.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).