From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by dpdk.org (Postfix) with ESMTP id ABECC1D09C for ; Fri, 6 Apr 2018 15:23:04 +0200 (CEST) Received: by mail-wr0-f195.google.com with SMTP id m13so1759711wrj.5 for ; Fri, 06 Apr 2018 06:23:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=E30kqUN2nd9b4JtdlSz7UiAOLgRnpiPiFNhvlpL4qSM=; b=yhS8AKjdw8VspTFJOwf0TEw0EX7C46T3MYYtO2hX/Hig1uCnQkgLEefWv0fEMEuIDa krz1Kd10WuGPBXYAn1VkOHNewzEn7uaXpwXbn+oWDbXf5tMkwg4uC+RG7TZ7OEjrXPbS Jtm+PB4j5W6h9Z07yq3c0BBvF1KSAIvSl8oZkVjrzFD5UZNwHqr6Z9uYgfGfyetMiN1p PeVsFK0t9CM0MzPZexxOj+77niiU+MirUIindx086eMH39tPOFBFBg031RqfGy65k9r7 CyggzZeyCptdWM47fZWoC+1Ibgw/mQZWP7dGYdR5FWCSXdne4PvcM6VvFK6gCLECcbNI eTVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=E30kqUN2nd9b4JtdlSz7UiAOLgRnpiPiFNhvlpL4qSM=; b=XjDEpWnaQtDDY3kS9v7W0ET/CnMS67qZfNC/xM8bd8ualDI14gk5XzNbhhxJxrrx51 7jSZLCU7L864M1Y7t9wxY/JHh5bwvJFfKc59mEoE1hUa3quzu1L7e2DISMSGBcS7iyR/ J8q8jOfO0cFPHZ4RxkJPs08beiVZXpazXdiDAEW1YTojfUS7nWbaCyL1vqXL81R5pCMY 9RSDRauECY1mZtOo5Zvi4HEGr4NXl08ktaR8sZ71QijZrh8a9ROpReTtJHmqldd/+PJ/ p4u/QpHzGmiC+9mkUWSBk45npfuL/d4ZhoNGapGXjPvDMQOvD1n7xxQBlfkZFTFdRskw tqEg== X-Gm-Message-State: AElRT7EykcJLOwZexncPJTbPucf39bm7a0kkDNHtWKXQVuZSKP5XifJq jW1qK7lJzcbEGt+WngOxFfM6DFIt X-Google-Smtp-Source: AIpwx4+3eLwA8ji5cyOFOqfO13LUQ4p2HGcjmEm5t8iB7rR7AC4qqhWaHayDvNtzzAXJEQYmdb2TFg== X-Received: by 10.223.226.205 with SMTP id d13mr20276017wrj.152.1523020984406; Fri, 06 Apr 2018 06:23:04 -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 l131sm10394155wmb.36.2018.04.06.06.23.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Apr 2018 06:23:03 -0700 (PDT) Date: Fri, 6 Apr 2018 15:22:50 +0200 From: Adrien Mazarguil To: dev@dpdk.org Cc: stable@dpdk.org Message-ID: <20180406131243.19037-11-adrien.mazarguil@6wind.com> References: <20180404144805.11966-1-adrien.mazarguil@6wind.com> <20180406131243.19037-1-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180406131243.19037-1-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH v3 10/11] ethdev: fix missing boolean values in flow command 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: Fri, 06 Apr 2018 13:23:05 -0000 Original implementation lacks the on/off toggle. This patch shows up as a fix because it has been a popular request ever since the first DPDK release with the original implementation but was never addressed. Fixes: abc3d81aca1b ("app/testpmd: add item raw to flow command") Cc: stable@dpdk.org Signed-off-by: Adrien Mazarguil Acked-by: Nelio Laranjeiro --- app/test-pmd/cmdline_flow.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/test-pmd/cmdline_flow.c b/app/test-pmd/cmdline_flow.c index dbf4afebf..30450f1a4 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -2695,6 +2695,7 @@ static const char *const boolean_name[] = { "false", "true", "no", "yes", "N", "Y", + "off", "on", NULL, }; -- 2.11.0