From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id D50841BAD0 for ; Tue, 10 Apr 2018 18:34:34 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id u189so27366228wmd.1 for ; Tue, 10 Apr 2018 09:34:34 -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=oj9bgipWQbf6hVhi5bLK3SXNx/AhOwBZQwVKUSTFJCY=; b=sIAcjInNeEXb+j9PubVwvOr4x3w0tJfIw5BPQbrLGLtdx6vbMSjSq96Xsfr4z2vKrF T3LkO221sq16df24+OzDec8IsfKKz2sbu63MQLz+TrZIi87VzmFkhyrOp3y4om1GKCkO uf4G201xdZehEtpAnZlhzwS3R8q5j1JeuKeew51cKs6R2CcmqSCxkcqnrb0ATNU1w6gx NesDw6j0uOaISS+Jn4Vci7q0Xy21qauIPEohyRScYNrEVkxwDOuj7sjgTR/IZO3Ql4RC 5tdvnAQIzlF8ZVikNKH92jJx6XchkWGoN0JiyHJ5KXcC84VigBMhWGGUsLnmsaktGG+z CW4w== 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=oj9bgipWQbf6hVhi5bLK3SXNx/AhOwBZQwVKUSTFJCY=; b=DzDIy8IoULITJbRfBwBlOa9BDIB2LfpLMyzC6uZrAQqDA4RCuuAk1+sXQUo2sgUs/5 An6RHhX5zvyc3X/mrR7t92Mp8Y78mVwNy4xWDrUQIaj3COEx5vgCV0Ed7+CxNdTvL3E/ cZYUipZpbS88uQqFbux/XrEEHLlPqTJhX9TO07Gznn3mxo28Ir77Cffa9UECtnPXywVx iSBAO79V486IXx5mOt7bDVNNmYWD0a+ezwn12+rez6OGAte7aOLoF9x6YA/a7WCll2Qg r4mA9hsm8pPokVP2yMfb9FdtOZOnUSMpTlEV0b4LzI0UaskAqijJtfTSE1YnIr2y+zwd JSoQ== X-Gm-Message-State: ALQs6tDYkyuFJZywjhXnWkaWCqVWO0YB0xiZhUihrD0Ixvzn5q3T8Ipr 93I/Zu7ZVuhuySyRXztqyd5GJXui X-Google-Smtp-Source: AIpwx48oj1J54VDe3MxdUpx51ahR89LecqjF1zTIJFv5c2CjB43H88FJA40WYzGXbm0P3I/XLRGv/w== X-Received: by 10.28.54.200 with SMTP id y69mr151301wmh.78.1523378074597; Tue, 10 Apr 2018 09:34:34 -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 y68sm4018245wrb.73.2018.04.10.09.34.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Apr 2018 09:34:34 -0700 (PDT) Date: Tue, 10 Apr 2018 18:34:20 +0200 From: Adrien Mazarguil To: dev@dpdk.org Cc: stable@dpdk.org Message-ID: <20180410161132.8776-11-adrien.mazarguil@6wind.com> References: <20180406131243.19037-1-adrien.mazarguil@6wind.com> <20180410161132.8776-1-adrien.mazarguil@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180410161132.8776-1-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH v4 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: Tue, 10 Apr 2018 16:34:35 -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 e43705303..ac4b51a8a 100644 --- a/app/test-pmd/cmdline_flow.c +++ b/app/test-pmd/cmdline_flow.c @@ -2692,6 +2692,7 @@ static const char *const boolean_name[] = { "false", "true", "no", "yes", "N", "Y", + "off", "on", NULL, }; -- 2.11.0