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 A95DCA054A; Fri, 23 Sep 2022 04:40:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3ABD0400D7; Fri, 23 Sep 2022 04:40:39 +0200 (CEST) Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by mails.dpdk.org (Postfix) with ESMTP id B3C0F4003C for ; Fri, 23 Sep 2022 04:40:37 +0200 (CEST) Received: by mail-pl1-f174.google.com with SMTP id t3so10553908ply.2 for ; Thu, 22 Sep 2022 19:40:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=bYCBO0xUAN5Blpg3j67gmZrMUP+fTMVynkQPFKvgvfE=; b=TVDW1BxfCe5cPhJWlu7P+grigh6mp9MTHYU4Pz4Xcy/S3geK8l0XjukXtgO7XHGNGR SiRNuc5vuQaUDASOPt7il4QUPrfVE8wNIhdT8xVEAmF6MHQ/zz3WS0cSmfpw0cc5jfA9 UlQ62a52ll4f1cLfLD8qJHpSorF5P1Vf5J67cjxB5rsEkbcY3PJqkJqL9yIzc9jbpo3C 4Ew0pmidTRrwmY9LgITfywYMyHBzmTobEWRLtk081G+TlSJ0zTuD7/2OQNwISlOXtuCN pj2R1/1RkXmb+kMXtFFnIb3+2tO5ziZToQG7klR00Sp0VhkPib/6cCa0W2rSps9/HYO7 SDEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=bYCBO0xUAN5Blpg3j67gmZrMUP+fTMVynkQPFKvgvfE=; b=tpsVbN9j5B/VXjH+m3tiZmha5oHm0/yUe/pfy5TtipXGQG9iRAVqlJJcyogjB48Qef yXd1C1ByNDb2Zdhc+XPfgR9806yhFGGF5kgRN61HZTdVBGANLgQsbkXjgYQfKzTjCD8m OP9d/N5L9VJByBulo+poL/ookad4Q0mLcq7zG6ziyAkEnYrB8/gRYK2Rt+4Q3z3mxO1S 1tpHHOVWShoPiT0QF1zmCv96mxSrwd9rIIp9M19YBfpCkdRAfWCx6SzyFAZrfjuVlLmV CyMvlNZ3DA3svDv27v4G+8KsdpWmI9jagyZsk3lB0gQHpJGuBpBo6et5LufkoGgJgiey AdnQ== X-Gm-Message-State: ACrzQf1Klk1S9lFG00LGLbyOxgDjFZTfm0gW2GiVfHsq8lgGqOckhhHh 7RaZS7B25vm4E1xBEgmjZZKgsg== X-Google-Smtp-Source: AMsMyM4PQAqT0hJRbJNBkhv6t3xNnmkE4pDFNg8HFAxjdr8b87d9uaXB+Uijhw78lGuOussgThb05Q== X-Received: by 2002:a17:902:eb90:b0:178:bb0b:574f with SMTP id q16-20020a170902eb9000b00178bb0b574fmr6417212plg.91.1663900836832; Thu, 22 Sep 2022 19:40:36 -0700 (PDT) Received: from localhost.localdomain ([199.101.192.56]) by smtp.gmail.com with ESMTPSA id t5-20020a625f05000000b0053e8940c4absm5075011pfb.209.2022.09.22.19.40.31 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Sep 2022 19:40:36 -0700 (PDT) From: Zhangfei Gao To: Akhil Goyal , Declan Doherty , Fan Zhang , Ashish Gupta , Ray Kinsella Cc: dev@dpdk.org, acc@openeuler.org, Zhangfei Gao Subject: [PATCH v2 0/5] crypto/uadk: introduce uadk crypto driver Date: Fri, 23 Sep 2022 10:40:18 +0800 Message-Id: <20220923024023.15849-1-zhangfei.gao@linaro.org> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Introduce a new crypto PMD for hardware accelerators based on UADK [1]. 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. [1] https://github.com/Linaro/uadk Test: sudo dpdk-test --vdev=crypto_uadk (--log-level=6) RTE>>cryptodev_uadk_autotest RTE>>quit Update with v1: Change uadk_supported_platform to uadk_crypto_version, which matches better than platform. enum uadk_crypto_version { UADK_CRYPTO_V2, UADK_CRYPTO_V3, }; 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 | 77 ++ 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, 1347 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 -- 2.36.1