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 C58EBA0C4C for ; Thu, 17 Jun 2021 11:14:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8BA9240150; 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 0A7A040150 for ; Thu, 17 Jun 2021 11:14:27 +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-ua1-f69.google.com (mail-ua1-f69.google.com [209.85.222.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-591-o5Il6fICOkWQY7gAqGMJFQ-1; Thu, 17 Jun 2021 05:14:26 -0400 X-MC-Unique: o5Il6fICOkWQY7gAqGMJFQ-1 Received: by mail-ua1-f69.google.com with SMTP id x11-20020a9f2f0b0000b029020331a0ba74so2364980uaj.15 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=msQYZLbPTS/OfF70iNgwn17rcrbXJ8N+d7MUI/Z8OyZkAXgDEZdfeC2qYX3szmEBoe JQQJoFtsbM+U12Am80hRPq7xuoFcuLm/Wlqk5cuA4LKcwPjKCGthl+xMCScJ6zZcx3wr kK0nb66imWTL1pTa3hSyjHbtQ62C+fkxYYZ8bS5z6lVqqM6IFIZ0k9ZIuMAgWlxtaecK eJ9LIXMgbSRbjpnbyooceYGLNKy00dCBwCyJxoHB5YW+J2seUzawYIXOfG9jL+gY8tFw O8kuRKAa+HnC504utvuQiArSBDr50LtQQYHDVErJcDD4xsXkbPpHjN/Evz4JHkJptTHD ZXNw== X-Gm-Message-State: AOAM532EmgrhY9F6tuRrbUnxBNo1t3GXMY2skD/yZy2fopxbk/6qEE0Y jsfrnoe5HdkM5KIHApj6EPjvtrRSWQmCHbFdxYM3jeFh9z9D4Rv4MU7xZt28a104XUCx4tiIvtd QOOKRx+SLtecLh8SJcs1MyW4= X-Received: by 2002:a05:6102:243c:: with SMTP id l28mr3348751vsi.27.1623921265540; 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-stable] [PATCH v2 1/2] examples/l2fwd: fix long option parsing X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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