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 A7761A00C3; Tue, 13 Sep 2022 10:13:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8AA6E40156; Tue, 13 Sep 2022 10:13:08 +0200 (CEST) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by mails.dpdk.org (Postfix) with ESMTP id 9FB7040151 for ; Tue, 13 Sep 2022 09:09:01 +0200 (CEST) Received: from dggemv704-chm.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4MRZJB4KMlznV15; Tue, 13 Sep 2022 15:06:18 +0800 (CST) Received: from kwepemm600005.china.huawei.com (7.193.23.191) by dggemv704-chm.china.huawei.com (10.3.19.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Tue, 13 Sep 2022 15:08:58 +0800 Received: from [10.67.102.118] (10.67.102.118) by kwepemm600005.china.huawei.com (7.193.23.191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 13 Sep 2022 15:08:58 +0800 Subject: Re: [Acc] [PATCH 0/5] crypto/uadk: introduce uadk crypto driver To: Zhangfei Gao , Akhil Goyal , Declan Doherty , Fan Zhang , Ashish Gupta , "Ray Kinsella" CC: , References: <20220911052344.31239-1-zhangfei.gao@linaro.org> From: liulongfang Message-ID: Date: Tue, 13 Sep 2022 15:08:57 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20220911052344.31239-1-zhangfei.gao@linaro.org> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.102.118] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemm600005.china.huawei.com (7.193.23.191) X-CFilter-Loop: Reflected X-Mailman-Approved-At: Tue, 13 Sep 2022 10:13:07 +0200 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 2022/9/11 13:23, Zhangfei Gao wrote: > Introduce a new crypto PMD for UADK, which relies on UADK library [1]. > This should be "a new crypto PMD for DPDK" > UADK is a framework for user applications to access hardware accelerators. > UADK relies on IOMMU SVA (Shared Virtual Address) feature, which share > the same page table between IOMMU and MMU. > Thereby user application can directly use virtual address for device dma, > which enhances the performance as well as easy usability. > > Currently supported platforms: > HiSilicon kunpeng920 & kunpeng930. > > This patch adds a basic framework. > > [1] https://github.com/Linaro/uadk > > Test: > sudo dpdk-test --vdev=crypto_uadk (--log-level=6) > RTE>>cryptodev_uadk_autotest > RTE>>quit > > Update with rfc > > Suggested from Akhil Goyal > Only consider crypto PMD first > Split patch into small (individually compiled) patches. > Update MAINTAINERS and doc/guides/cryptodevs/features/uadk.ini > > Zhangfei Gao (5): > test/crypto: add cryptodev_uadk_autotest > crypto/uadk: introduce uadk crypto driver > crypto/uadk: support cipher algorithms > crypto/uadk: support auth algorithms > doc: Update doc for UADK crypto PMD > > MAINTAINERS | 6 + > app/test/test_cryptodev.c | 7 + > app/test/test_cryptodev.h | 1 + > doc/guides/cryptodevs/features/uadk.ini | 54 ++ > doc/guides/cryptodevs/index.rst | 1 + > doc/guides/cryptodevs/uadk.rst | 80 ++ > drivers/crypto/meson.build | 1 + > drivers/crypto/uadk/meson.build | 36 + > drivers/crypto/uadk/uadk_crypto_pmd.c | 1161 +++++++++++++++++++++++ > drivers/crypto/uadk/version.map | 3 + > 10 files changed, 1350 insertions(+) > create mode 100644 doc/guides/cryptodevs/features/uadk.ini > create mode 100644 doc/guides/cryptodevs/uadk.rst > create mode 100644 drivers/crypto/uadk/meson.build > create mode 100644 drivers/crypto/uadk/uadk_crypto_pmd.c > create mode 100644 drivers/crypto/uadk/version.map > Thanks, Longfang