[dpdk-dev] [PATCH] doc: fix l2fwd-crypto sample command

2016-06-07 Thread Thomas Monjalon
2016-05-25 10:00, Fan Zhang:
> Fixes ba7b86b1 ("doc: add l2fwd-crypto sample app guide")
> 
> Corrected a typo in application name.
> 
> Corrected authentication algorithm to fit the sample 16-byte
> authentication key.
> 
> Signed-off-by: Fan Zhang 

Applied, thanks


[dpdk-dev] [PATCH] doc: fix l2fwd-crypto sample command

2016-05-25 Thread Fan Zhang
Fixes ba7b86b1 ("doc: add l2fwd-crypto sample app guide")

Corrected a typo in application name.

Corrected authentication algorithm to fit the sample 16-byte
authentication key.

Signed-off-by: Fan Zhang 
---
 doc/guides/sample_app_ug/l2_forward_crypto.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/guides/sample_app_ug/l2_forward_crypto.rst 
b/doc/guides/sample_app_ug/l2_forward_crypto.rst
index 7cce51b..723376c 100644
--- a/doc/guides/sample_app_ug/l2_forward_crypto.rst
+++ b/doc/guides/sample_app_ug/l2_forward_crypto.rst
@@ -167,11 +167,11 @@ To run the application in linuxapp environment with 2 
lcores, 2 ports and 2 cryp

 .. code-block:: console

-$ ./build/l2fwd -c 0x3 -n 4 --vdev "cryptodev_aesni_mb_pmd" \
+$ ./build/l2fwd-crypto -c 0x3 -n 4 --vdev "cryptodev_aesni_mb_pmd" \
 --vdev "cryptodev_aesni_mb_pmd" -- -p 0x3 --chain CIPHER_HASH \
 --cipher_op ENCRYPT --cipher_algo AES_CBC \
 --cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f \
---auth_op GENERATE --auth_algo SHA1_HMAC \
+--auth_op GENERATE --auth_algo AES_XCBC_MAC \
 --auth_key 10:11:12:13:14:15:16:17:18:19:1a:1b:1c:1d:1e:1f

 Refer to the *DPDK Getting Started Guide* for general information on running 
applications
-- 
2.5.5