On Mon, Feb 27, 2023 at 10:06 PM Akhil Goyal <gak...@marvell.com> wrote: > > > Testeventdev crypto adapter symmetric tests are only attempting > > NULL cipher algorithm. This limits crypto adapter usage with only > > PMDs that can support NULL cipher algorithm. Also, since NULL cipher > > algorithm doesn't perform any crypto operation, the performance numbers > > reported may not reflect the actual crypto capabilities of the device. > > Extend the application to support non-NULL cipher algorithms. > > > > Signed-off-by: Aakash Sasidharan <asasidha...@marvell.com> > Acked-by: Akhil Goyal <gak...@marvell.com>
Applied to dpdk-next-net-eventdev/for-main with following changes. Thanks 1) Changed subject as "app/testeventdev: support cipher alg options for cryptodev" 2) Updated the doc as diff --git a/doc/guides/tools/testeventdev.rst b/doc/guides/tools/testeventdev.rst index 33cbe04d70..fc36bfb30c 100644 --- a/doc/guides/tools/testeventdev.rst +++ b/doc/guides/tools/testeventdev.rst @@ -162,6 +162,18 @@ The following are the application command-line options: Set crypto operation type. Use 0 for symmetric crypto ops (default) and 1 for asymmetric crypto ops. +* ``--crypto_cipher_alg`` + + Cipher algorithm to be used. Default algorithm is NULL. + +* ``--crypto_cipher_key`` + + Key for the cipher algorithm selected. + +* ``--crypto_cipher_iv_sz`` + + IV size for the cipher algorithm + * ``--mbuf_sz`` Set packet mbuf size. Can be used to configure Jumbo Frames. Only [for-main]dell[dpdk-next-eventdev]