From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by dpdk.org (Postfix) with ESMTP id 74D551094 for ; Tue, 17 Jan 2017 18:11:07 +0100 (CET) Received: by mail-lf0-f49.google.com with SMTP id k86so113347744lfi.0 for ; Tue, 17 Jan 2017 09:11:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=yinpu2ADfmrT8LSxQhjXhaUiPEmTs3yJON+t+9YIYdA=; b=qmd9Bwh6r5W1iJ2Vm5y6yAlvhgpvwyuCNAnBDwejGoVrRFzalvdQrh4P+KV37Ogd3l LQJSnk4NC/TKJ1LbGpnNX6K3scTsbEUwmqfAVDycTwTtAZ/L+TM5iL0WAEf/IAmCsDzN uD6oYBA5j/v5Ek99xo/A6BBRz8W1hGfMdj0RN8b2cbd4Gqd/f2TKKBYmZ5g1/UU0y9pC L0342cO0msvSylI3hEgpDy13mQ14CTF57D7xs/EyShfGW34RE3fgsO6YcaWDuGccRAaR R9gXDMc/IGwUtTJu9/Cgf+ZnsI8SRCYkxaSLJ+Bl+lFooSc6d7daFFb5eC7ytoiOJM2h dpaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=yinpu2ADfmrT8LSxQhjXhaUiPEmTs3yJON+t+9YIYdA=; b=Lx9ihUSUx7woPXjvAYtr7c3BvOtNS94HVW6cLJpN22ghiFm+42sVOArtat61dACVPJ +jXnBqhP9/7trPUCVTz9PSPbvS0vuFr7I4ZyS+kHei7ZmevvdD+3zdYXNDG5ZkRFpOTW /5bqbTz3bMFIssuVpVR7YB14D27HflAp7O0ch+52upE52TZm49rkZVR+akoOoZP5G1cx QRIWWo/ixWqedPP+fWi7gNL4dpJPUP2TZkPFV3e/hTmPhB6UrKDdIK9K8IQ7LvVMXBCl f01ooYk2Au/sXgdQ5W/moDrMdiyj15nFTDY6v0reo8YsZymeJE72KdRKkAl1y2mHq0F8 I9JA== X-Gm-Message-State: AIkVDXLy6SPIvRPZV8mfvE+ABpfmkCNWKofePIGVctG4qCZ0jOpoSiJWEdlpKYqFtguG7aRu X-Received: by 10.25.228.157 with SMTP id x29mr12742134lfi.125.1484673066946; Tue, 17 Jan 2017 09:11:06 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id 9sm9262853lju.28.2017.01.17.09.11.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jan 2017 09:11:05 -0800 (PST) From: Thomas Monjalon To: Olivier Matz Cc: dev@dpdk.org, bruce.richardson@intel.com, pablo.de.lara.guarch@intel.com Date: Tue, 17 Jan 2017 18:11:04 +0100 Message-ID: <1632514.EAEELXtbXD@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <6f710163-fb03-a3dd-1520-ff78c07d146a@6wind.com> References: <1479822736-32399-1-git-send-email-olivier.matz@6wind.com> <6f710163-fb03-a3dd-1520-ff78c07d146a@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH 0/2] l2fwd/l3fwd: rework long options parsing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 17:11:07 -0000 2016-11-22 14:59, Olivier Matz: > Hi, > > On 11/22/2016 02:52 PM, Olivier Matz wrote: > > These 2 patches were part of this RFC, which will not be integrated: > > http://dpdk.org/ml/archives/dev/2016-September/046974.html > > > > It does not bring any functional change, it just reworks the way long > > options are parsed in l2fwd and l3fwd to avoid uneeded strcmp() calls > > and to ease the addition of a new long option in the future. > > > > I send them in case maintainers think it is better this way, but I have > > no real need. > > > > Olivier Matz (2): > > l3fwd: rework long options parsing > > l2fwd: rework long options parsing > > > > examples/l2fwd/main.c | 30 +++++++-- > > examples/l3fwd/main.c | 169 ++++++++++++++++++++++++++------------------------ > > 2 files changed, 111 insertions(+), 88 deletions(-) > > > > Sorry, I missed some checkpatch issues. I'll fix them in v2. > I'm waiting a bit for other comments, in case of. There was no comment. It seems this version is good enough. Applied with a checkpatch fix, thanks