From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 4F2F52B97 for ; Thu, 24 Mar 2016 14:40:07 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 24 Mar 2016 06:39:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,385,1455004800"; d="scan'208";a="940697246" Received: from sie-lab-214-036.ir.intel.com (HELO sie-lab-214-36.ir.intel.com) ([10.237.214.36]) by orsmga002.jf.intel.com with ESMTP; 24 Mar 2016 06:39:35 -0700 From: Pablo de Lara To: dev@dpdk.org Cc: declan.doherty@intel.com, Pablo de Lara Date: Thu, 24 Mar 2016 13:39:45 +0000 Message-Id: <1458826785-14470-1-git-send-email-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1458652864-30811-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1458652864-30811-1-git-send-email-pablo.de.lara.guarch@intel.com> Subject: [dpdk-dev] [PATCH v2] l2fwd-crypto: fix incorrect command line help 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: Thu, 24 Mar 2016 13:40:07 -0000 Previous cdev parameter was changed to cdev_type, to select a crypto device type preference (HW/SW/ANY), instead of the device itself (QAT/AESNI...). Also deleted cdev duplicated parameter from the help. Fixes: 27cf2d1b18e1 ("examples/l2fwd-crypto: discover capabilities") Signed-off-by: Pablo de Lara Acked-by: Fiona Trahe --- Changes in v2: - Removed duplicated parameter in command line help examples/l2fwd-crypto/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index 762d22a..ba0dcba 100644 --- a/examples/l2fwd-crypto/main.c +++ b/examples/l2fwd-crypto/main.c @@ -762,14 +762,14 @@ l2fwd_launch_one_lcore(void *arg) static void l2fwd_crypto_usage(const char *prgname) { - printf("%s [EAL options] -- --cdev TYPE [optional parameters]\n" + printf("%s [EAL options] --\n" " -p PORTMASK: hexadecimal bitmask of ports to configure\n" " -q NQ: number of queue (=ports) per lcore (default is 1)\n" " -s manage all ports from single lcore" " -t PERIOD: statistics will be refreshed each PERIOD seconds" " (0 to disable, 10 default, 86400 maximum)\n" - " --cdev AESNI_MB / QAT\n" + " --cdev_type HW / SW / ANY\n" " --chain HASH_CIPHER / CIPHER_HASH\n" " --cipher_algo ALGO\n" -- 2.5.5