[dpdk-dev] [PATCH v2 4/4] examples/l2fwd-crypto: updated example for libcrypto PMD

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Tue Sep 20 01:58:18 CEST 2016


Hi,

> -----Original Message-----
> From: Jastrzebski, MichalX K
> Sent: Monday, September 19, 2016 2:00 AM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo; Mrozowicz, SlawomirX; Mrzyglod, DanielX T
> Subject: [PATCH v2 4/4] examples/l2fwd-crypto: updated example for
> libcrypto PMD
> 
> From: Slawomir Mrozowicz <slawomirx.mrozowicz at intel.com>
> 
> To verify real traffic l2fwd-crypto example can be used with this command:
> sudo ./build/l2fwd-crypto -c 0x3 -n 4 --vdev "cryptodev_libcrypto_pmd"
> --vdev "cryptodev_libcrypto_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
> --iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:ff
> --auth_op GENERATE --auth_algo SHA1_HMAC
> --auth_key
> 11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:
> 11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:
> 11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:
> 11:11:11:11:11:11:11:11:11:11:11:11:11:11:11:11
> 
> Limitations
> -----------
> Maximum number of sessions is 2048.

I think it would be more valuable to include here the extra algorithms
that can be used in this app with this patch, instead of including an example of the command line.

Also, the maximum number of sessions is an arbitrary maximum number for all vdevs,
so I think it is not necessary to include it in here. 
> 
> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod at intel.com>

Thanks,
Pablo


More information about the dev mailing list