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 EC578A0543; Wed, 14 Dec 2022 10:32:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C8EAD400D6; Wed, 14 Dec 2022 10:32:33 +0100 (CET) Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) by mails.dpdk.org (Postfix) with ESMTP id 159684003F for ; Wed, 14 Dec 2022 10:32:33 +0100 (CET) Received: by mail-qt1-f173.google.com with SMTP id ay32so1993565qtb.11 for ; Wed, 14 Dec 2022 01:32:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=pVQfJsMr93/XkmXr5UF2tAQge0sAKCTU+pU4H21jr6o=; b=Lrn/aKNzGVMpl1oTE6GjZ3IW2lam38ooRm9w1TufVZ6bbrGwIvqIVOsQdumhGlDkCa lvMdJg4p/CPY+Q+MRRhdYKNZXEU8vxYiK3aNgdRg+/cHOpbmn7sCOnvrvKP2qOYkExzq Dmv4S39zxjznF/mZbHSRhq50xl6nvFm8IWYDk8wN3fLg7R22+IlYj1ekJns6Ac7urF7Q PsdREkh7/gbhX9bENm041kWQTPMC7F8NwgiQyBvWGWqJbNIL3KqYsHLUOrutzz+4vMIk dbRmNCIIj50yiAmKYKu1GTCzb965GQjxrTefNK/lxOaTKQQF/v31R99Oy7og4dI244zp Gkcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pVQfJsMr93/XkmXr5UF2tAQge0sAKCTU+pU4H21jr6o=; b=a7pwtB0zRnl1kzYeVBAjz+Of61pygTs6QXnUryDI2T1XecS9X1ZFnYOeQXVziE+EhE 4NjymvvQxFVuhP/nk0s/2YJ1uRAn9q5qxh/xQyeO/Zm7BB3OaEC5cU21ecwkb/BhFEwT h0W43k/0J4qu3q1n/ezrSFfnpCF5QxXnDvmhE1k4oPYQzkVtVr+wac05kBSezYOQUpU1 C9Otbd0cnBXMY9eGcG5EiTpwYUxreJZPQvOTyM4HmyM6r9K2SLgztQwTqAjcLhNzaG4G nSvgTcDwqVcYTUi/Enzkn14zLTzXFPq4fzk/3HDkoBJ5wrsXoHyzzokXPtN03DW2L9xX UYZA== X-Gm-Message-State: ANoB5pm0bzJS/ReSKF6/3ziCF3xwMaefF7xh9sCI5SKi7HE/uYSHfmr0 /QbZLNCdWDXbIKQR6NN7CGM= X-Google-Smtp-Source: AA0mqf7WtXbMsfXgK9yYns+mrDT61IPm5AjBJy0dBE2urM7KYB2ub5B/QHAA5EAFkwqDjAXpdooPUg== X-Received: by 2002:ac8:5451:0:b0:3a8:2ab9:7fa1 with SMTP id d17-20020ac85451000000b003a82ab97fa1mr3049009qtq.10.1671010352294; Wed, 14 Dec 2022 01:32:32 -0800 (PST) Received: from [10.249.154.254] (nat-216-240-30-23.netapp.com. [216.240.30.23]) by smtp.gmail.com with ESMTPSA id bl15-20020a05622a244f00b003a6a92a202esm1359829qtb.83.2022.12.14.01.32.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Dec 2022 01:32:31 -0800 (PST) Message-ID: Date: Wed, 14 Dec 2022 09:32:27 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH] cryptodev: add algo enums to string conversion APIs Content-Language: en-US To: Akhil Goyal , dev@dpdk.org Cc: ciara.power@intel.com, kai.ji@intel.com, pablo.de.lara.guarch@intel.com, hemant.agrawal@nxp.com, matan@nvidia.com, g.singh@nxp.com, ruifeng.wang@arm.com, anoobj@marvell.com, radu.nicolau@intel.com, vfialko@marvell.com, ktraynor@redhat.com, david.marchand@redhat.com, thomas@monjalon.net References: <20221212151023.3308146-1-gakhil@marvell.com> From: "Zhang, Fan" In-Reply-To: <20221212151023.3308146-1-gakhil@marvell.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 12/12/2022 3:10 PM, Akhil Goyal wrote: > Symmetric/Asymmetric algorithm strings are accessed by application > using arrays in cryptodev lib, which hampers new algorithms addition > in the array due to ABI breakage. > These arrays are now deprecated and will be removed in next ABI break > release. > New APIs are added for getting the algorithm strings based on enum values. > > Signed-off-by: Akhil Goyal > --- > app/test-crypto-perf/cperf_options_parsing.c | 6 +- > app/test/test_cryptodev_asym.c | 2 +- > app/test/test_cryptodev_security_ipsec.c | 8 +- > doc/guides/rel_notes/deprecation.rst | 7 + > drivers/crypto/openssl/rte_openssl_pmd_ops.c | 2 +- > drivers/crypto/qat/qat_sym_session.c | 7 +- > examples/l2fwd-crypto/main.c | 12 +- > lib/cryptodev/cryptodev_trace_points.c | 12 ++ > lib/cryptodev/rte_crypto_asym.h | 1 + > lib/cryptodev/rte_crypto_sym.h | 3 + > lib/cryptodev/rte_cryptodev.c | 182 ++++++++++++++++++- > lib/cryptodev/rte_cryptodev.h | 52 ++++++ > lib/cryptodev/rte_cryptodev_trace.h | 32 ++++ > lib/cryptodev/version.map | 10 + > 14 files changed, 309 insertions(+), 27 deletions(-) Acked-by: Fan Zhang