DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] fix l2fwd --no-mac-updating not working issue
@ 2021-06-28  9:08 RickZhong
  2021-06-28  9:25 ` David Marchand
  0 siblings, 1 reply; 2+ messages in thread
From: RickZhong @ 2021-06-28  9:08 UTC (permalink / raw)
  To: dev; +Cc: RickZhong

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] fix l2fwd --no-mac-updating not working issue
  2021-06-28  9:08 [dpdk-dev] [PATCH] fix l2fwd --no-mac-updating not working issue RickZhong
@ 2021-06-28  9:25 ` David Marchand
  0 siblings, 0 replies; 2+ messages in thread
From: David Marchand @ 2021-06-28  9:25 UTC (permalink / raw)
  To: RickZhong; +Cc: dev

On Mon, Jun 28, 2021 at 11:09 AM RickZhong <winsome8282@163.com> wrote:
>
> 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);

This issue should be fixed with these patches:
http://patchwork.dpdk.org/project/dpdk/patch/20210622024706.1179945-1-sunchenglian@loongson.cn/
http://patchwork.dpdk.org/project/dpdk/patch/20210622024944.1180109-2-sunchenglian@loongson.cn/

Can you test/review them?

Thanks.

-- 
David Marchand


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-28  9:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-28  9:08 [dpdk-dev] [PATCH] fix l2fwd --no-mac-updating not working issue RickZhong
2021-06-28  9:25 ` David Marchand

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).