From a3c2e34b7f979304f7c51f1f1baf4a4353986f98 Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Thu, 22 Jun 2017 13:02:32 +0100 Subject: [PATCH] examples/l2fwd-crypto: fix application help Chain parameter can be CIPHER_HASH, HASH_CIPHER, CIPHER_ONLY or HASH_ONLY, but only the first two were shown in the application help. Fixes: 1a75e9f3fadb ("examples/l2fwd-crypto: add cipher/hash only cases") Cc: stable@dpdk.org Signed-off-by: Pablo de Lara Acked-by: Fiona Trahe --- examples/l2fwd-crypto/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index 66b4af32a1..841ec6eea4 100644 --- a/examples/l2fwd-crypto/main.c +++ b/examples/l2fwd-crypto/main.c @@ -842,7 +842,8 @@ l2fwd_crypto_usage(const char *prgname) " (0 to disable, 10 default, 86400 maximum)\n" " --cdev_type HW / SW / ANY\n" - " --chain HASH_CIPHER / CIPHER_HASH\n" + " --chain HASH_CIPHER / CIPHER_HASH / CIPHER_ONLY /" + " HASH_ONLY\n" " --cipher_algo ALGO\n" " --cipher_op ENCRYPT / DECRYPT\n" -- 2.20.1