summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPablo de Lara <pablo.de.lara.guarch@intel.com>2016-03-24 13:39:45 +0000
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-03-24 20:53:40 +0100
commit912b3a0acb5d47c80906e88f348e0a60af0d7708 (patch)
tree3c1cf63b15ac0d8489477eb57c8b494a7bf4920d /examples
parentf057dc5c7d8d0c064a2cb9899a84abca1282cfdf (diff)
downloaddpdk-912b3a0acb5d47c80906e88f348e0a60af0d7708.zip
dpdk-912b3a0acb5d47c80906e88f348e0a60af0d7708.tar.gz
dpdk-912b3a0acb5d47c80906e88f348e0a60af0d7708.tar.xz
examples/l2fwd-crypto: fix command line help
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 <pablo.de.lara.guarch@intel.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/l2fwd-crypto/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c
index 762d22a..f87e6d3 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"