From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com [62.23.145.76]) by dpdk.org (Postfix) with ESMTP id D6CFB5582 for ; Tue, 22 Nov 2016 14:52:40 +0100 (CET) Received: from glumotte.dev.6wind.com (unknown [10.16.0.195]) by proxy.6wind.com (Postfix) with ESMTP id C683324AB1; Tue, 22 Nov 2016 14:52:36 +0100 (CET) From: Olivier Matz To: dev@dpdk.org, bruce.richardson@intel.com, pablo.de.lara.guarch@intel.com Date: Tue, 22 Nov 2016 14:52:14 +0100 Message-Id: <1479822736-32399-1-git-send-email-olivier.matz@6wind.com> X-Mailer: git-send-email 2.8.1 Subject: [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: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2016 13:52:41 -0000 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(-) -- 2.8.1