From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7A492A0C4C; Thu, 17 Jun 2021 11:14:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ADEDA410DB; Thu, 17 Jun 2021 11:14:29 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 4FDF44067A for ; Thu, 17 Jun 2021 11:14:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623921267; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=O6gxE0/s3qnUNA+Mldr+NMz0C8hEMipY23p7gVKEGMk=; b=LZF5kuwVe6HQSd16h+D8kKoTv2KeK+qWhwUmrONLYA7cXZlp1BMcJGTvLGLxsp6Ctx+yh1 Hqa1JVf9ubZ2Mi/k5l8I8l+RJS86CTS5FOshDyW5wRNrHzcI02bOniFrNgGgtbvcO63qYC iRfsT97DuJ6ud5T+psRuv1yKiSH6nNQ= Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-197-JyzMy0XlPi24VsHXDB0T6g-1; Thu, 17 Jun 2021 05:14:25 -0400 X-MC-Unique: JyzMy0XlPi24VsHXDB0T6g-1 Received: by mail-vk1-f200.google.com with SMTP id v63-20020a1f2f420000b0290225a84920f5so1217143vkv.18 for ; Thu, 17 Jun 2021 02:14:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=O6gxE0/s3qnUNA+Mldr+NMz0C8hEMipY23p7gVKEGMk=; b=rAHP/rs6BB0O0/C17zIMIbNXmkwBy04mLIfIuZwCpGDbYaQQUEh0yyxK8UqfEZ1s6m HKcVrY98xM48xMTLjDjS5DQMDmMMTC15i9mV2XY/zCnovFMMNxMXH57HR9AYWKn5EKC1 qiHrLRPlROnkioxf4L4IthF2AvFEAVEJViMjrq9FTuzVuk2pwpCiXEtpASG7ptoZOfvq 6RQrg186wCQcY+ydH3utNaLhmMp4P7leuaIhVwzCtSTMTbmCht/ref4E+TlQSAuhYlMp 7jYrY6/A9ARL7RJ+Q0TtrqcDDTla/7oI6InL/nd4t/rjrdYIElO9yvGpbm/o+eyPelVq lh2A== X-Gm-Message-State: AOAM531gdHsQIFQX83FPEmeUxkYNth8S3q3tY4AfGegLVDC5WjKuvnJn SoM8blMBLWq/e4vvrVMgMRw+vAC2QjPsWLhxjzFmfYLjEyMZW5QzvapXaUXZlwsLMdujAh9q/xT yvCTkIfCabSIkdzUCZoI= X-Received: by 2002:a05:6102:243c:: with SMTP id l28mr3348750vsi.27.1623921265539; Thu, 17 Jun 2021 02:14:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdsUCOnN5ZIWVUwMGjPuC0hKDRHTqyTuJKCRY6X7GdpN8RGMSddbSIsiCtWKgYc3h5Qfs08t/k0RQwfu2kTCk= X-Received: by 2002:a05:6102:243c:: with SMTP id l28mr3348740vsi.27.1623921265369; Thu, 17 Jun 2021 02:14:25 -0700 (PDT) MIME-Version: 1.0 References: <20210610010159.1813398-1-sunchenglian@loongson.cn> <20210611100357.388290-1-sunchenglian@loongson.cn> In-Reply-To: <20210611100357.388290-1-sunchenglian@loongson.cn> From: David Marchand Date: Thu, 17 Jun 2021 11:14:13 +0200 Message-ID: To: SunChengLian Cc: dev , Bruce Richardson , dpdk stable Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v2 1/2] examples/l2fwd: fix long option parsing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Jun 11, 2021 at 12:05 PM SunChengLian wrote: > > 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: stable@dpdk.org > > Signed-off-by: SunChengLian Reviewed-by: David Marchand -- David Marchand