From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f173.google.com (mail-wr0-f173.google.com [209.85.128.173]) by dpdk.org (Postfix) with ESMTP id 756155699 for ; Mon, 10 Jul 2017 14:10:12 +0200 (CEST) Received: by mail-wr0-f173.google.com with SMTP id k67so135646298wrc.2 for ; Mon, 10 Jul 2017 05:10:12 -0700 (PDT) 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:in-reply-to:references; bh=/cnOXCqLvYKuugQtMlO9vgtP75pttv4KYxDon7q90pU=; b=BPx48Nmi7WyDoRWw5zw0s3/hufmcQj/+P2bADA1pBQunXSGDVAk5ruN+HamQG+nOiW vl6PqgVE9PgPIjNfEA9RP81zXsH8qCieMVvPUfXnkAPWyd7GkLNbzEcKj97n5WjUMduN Kj98V+OzfaiBOrh5IPfzBF41TC67tpRtXDUt9jb3raBgCvfWHgcLDNlXAm+kOwAXr90o Cg+K0kP0/K0IljBKdb/D4MXDgkU4rO+DLtKfKshnH4Le64LYy3kXhat/+Tafn+ijXihD PJl9C3Bi/BTrpTkrWdkEHCzK3rzqD6Y4yJjVFm9hjBJcYn0xLslswrNnR/mszuXEe9I5 JihA== 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:in-reply-to :references; bh=/cnOXCqLvYKuugQtMlO9vgtP75pttv4KYxDon7q90pU=; b=Zn2T4HOMc3QuuGrjIC0RTj98Y2AbLoB3ph/cxkVCiV+aebjMcmb+oGalo+cU4Bdr8n v7qTtM87tSYeg6b6NYKvC2Nlgdh723GkvsipuTXQ0CInQ4o3+HCuzM6/x8zH7Pjfe1HX dHEPHvlndSeLRl0RcKQsrrnglq3QCX8nCutedX5fB/2ZV8PHEqUvZv6jtSybTJt0xqbV iVVkufChsaPMdn0HPe76trpppAlP/gQhAvAduGCP2TPzThbWcAagr+3CKIZ8Vl9dFC2t 92RuIN8CaMzUaqAGwI4X6I8i/AnGUN5unorM4igaA0ul/qU334CnkZhpmr/bARZfwidP wLnQ== X-Gm-Message-State: AIVw113Z0iz8K6A885+XdLtmdpAiPi5jJB7Ufd0x8Ekm/aZO3NgPmE9N wp2ViSp2IydaaaAp+Y4= X-Received: by 10.28.222.214 with SMTP id v205mr328416wmg.68.1499688612033; Mon, 10 Jul 2017 05:10:12 -0700 (PDT) Received: from 6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id y9sm12775736wry.32.2017.07.10.05.10.10 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 10 Jul 2017 05:10:11 -0700 (PDT) From: Adrien Mazarguil To: Olivier Matz Cc: dev@dpdk.org Date: Mon, 10 Jul 2017 14:09:33 +0200 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: <327b5be12221f51fbf3a6d8e9d155de786992388.1497521374.git.adrien.mazarguil@6wind.com> References: <327b5be12221f51fbf3a6d8e9d155de786992388.1497521374.git.adrien.mazarguil@6wind.com> Subject: [dpdk-dev] [PATCH v3 0/3] librte_cmdline: fix parsing initialisation 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: Mon, 10 Jul 2017 12:10:12 -0000 Adding a cover letter to keep the same title for that thread, since I took over the original patch from Bernard, modified it somewhat and made a couple of additional fixes on top of it. Olivier's comment [1] and Bernard's feedback about dynamic tokens made me realize how the interface itself was not only difficult to use but also broken. This series starts by fixing the root cause of the original issue reported by Bernard, then simplifies the interface itself and its only user (testpmd) and finally fixes an unrelated issue found in testpmd. These fixes target all stable releases since 17.02. [1] http://dpdk.org/ml/archives/dev/2017-June/068605.html Adrien Mazarguil (3): cmdline: fix dynamic tokens initialization cmdline: fix dynamic tokens interface app/testpmd: fix token matching in flow command app/test-pmd/cmdline_flow.c | 36 +++++++------- lib/librte_cmdline/cmdline_parse.c | 85 ++++++++++----------------------- lib/librte_cmdline/cmdline_parse.h | 50 +++++++++++++++---- 3 files changed, 85 insertions(+), 86 deletions(-) -- 2.1.4