From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5A36541DC9; Fri, 3 Mar 2023 16:31:32 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 427D040EE3; Fri, 3 Mar 2023 16:31:32 +0100 (CET) Received: from mail-vs1-f45.google.com (mail-vs1-f45.google.com [209.85.217.45]) by mails.dpdk.org (Postfix) with ESMTP id 7CE8940ED9 for ; Fri, 3 Mar 2023 16:31:31 +0100 (CET) Received: by mail-vs1-f45.google.com with SMTP id d20so2693648vsf.11 for ; Fri, 03 Mar 2023 07:31:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ddoTtqRfsZwe4DVls7l0J8ZmEg23buHFFhxH9lwUyZc=; b=Ed0dlGyr+3nbvCgABZyoa8RPKw0WeF8myYOhvlLw2fX6r5U+NdoKWT3npTDos+pClf w5+yB19U8fZkzKfVG0tEs4AOPLfTTzR1HZm7kLJ3VwAUHwxm6gDYAagaGvytUbrXyBIB K1NF12vQRSdtOn2HFSM9dh1Sz0zi9IldhA+L2nDBVx5Q4cV2ABOEhvd7Q5O6Yj4gFeeX +fh89LBOBBpAGqAv39X9mX4fOuzgJ9YxHposfbAma/wU0MnVu7Skrpl0FH7vvfDS7LKE UzjGLZ7qbKu/BVOColUmPIi+LJ+RQMtmZ5Hu+RleeGiYcvzrn1qcinof/fJz3TI9ZXMo WiPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ddoTtqRfsZwe4DVls7l0J8ZmEg23buHFFhxH9lwUyZc=; b=I+tAaw0XQ9TTDiPv4lc8BL2HOXsYOuFIghrtpkRlSU/oco/2hNCTAYz6NuWOKvtTpH sAmY1lqv+5K62mx9KWeSu65NEyD1KEANGWO+cLy2KJVLlFrbzWGeT9q03C/RzmCgjb2Q GxYK14hsW+9LKwyXUPrBU/rLRMN+2mxgJAT2qL1sLMRjwni0I+vHOtcqSuV7X6Cl3dIU qJQX0swZ2p8w7jt6O5XEDAVI03QD/7m8ucqg3t2G7vtaXck/NlwgrrHSXRASr2jgjoD9 nYnQtsyQuGimJAvIEqABtPh/b/M/vrHk3G0SQODdkq1vz6GoeEFTQAqmv1+QhYFWf+bL ++ew== X-Gm-Message-State: AO0yUKWplkoJ9tvm2hkH87sTFl8qwoK/fu0JCJh73puC6fIqegAmGWe9 n7FQ2Od+PyUeg+xmDszQVLMOyHWtSzyr+3jxxfo= X-Google-Smtp-Source: AK7set8MD7NnYY862tHakphQvrdsXBpFMCM8frj58o4qtxo0PqdO8v5zaBQLvJtKcKCovnjJl5++DjKqXPcvolba2Ng= X-Received: by 2002:a05:6102:237a:b0:412:d18:c718 with SMTP id o26-20020a056102237a00b004120d18c718mr1422489vsa.3.1677857490510; Fri, 03 Mar 2023 07:31:30 -0800 (PST) MIME-Version: 1.0 References: <20230224141144.24558-1-asasidharan@marvell.com> In-Reply-To: From: Jerin Jacob Date: Fri, 3 Mar 2023 21:01:04 +0530 Message-ID: Subject: Re: [EXT] [PATCH] app/testeventdev: add cipher alg option for cryptodev To: Akhil Goyal Cc: Aakash Sasidharan , Jerin Jacob Kollanukkaran , "akhil@marvell.com" , Anoob Joseph , Volodymyr Fialko , Shijith Thotton , "dev@dpdk.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, Feb 27, 2023 at 10:06=E2=80=AFPM Akhil Goyal w= rote: > > > 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 > Acked-by: Akhil Goyal 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]