From patchwork Fri May 20 11:36:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 574542 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:1f0e:0:0:0:0 with SMTP id hs14csp2138939mab; Fri, 20 May 2022 04:36:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuRNQfTDjaXt6R1ke8jXY+Pp7BdNUzgLJ3uRVF+bvvobvQnSJhY04u6HKKpc85/0nLcl8A X-Received: by 2002:a5d:6dad:0:b0:20e:5a25:ab89 with SMTP id u13-20020a5d6dad000000b0020e5a25ab89mr1451403wrs.352.1653046580807; Fri, 20 May 2022 04:36:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653046580; cv=none; d=google.com; s=arc-20160816; b=AXbFZo6dzbvCKcI4AAGtLf1XYGvl+m6dOmOle2/trJpe3NnHD7FEqavaUgRKMPxC9L bc1gUgtniYIalQbSzWYYWdrH9c/jkk1hLjD6GyvQGORWLxXrmaElrfB/IiOVNf7cVPvw QPVM/wBzbivvoaUZ3QIeB5iY1PgEe4UyKZVG6iM22wYjkQZKvoFMfg3Jd4wUYKuMXv3n 1zoLwZXZodgCdTZdndT5KmInLuhxop94I5jYFEW7Ia8bPGiXUpR91rqBPfeVkvIPMEb8 K/Yq8bFwgV2lJ2yLGdjd8mB6CnZZn0Ea9Bvs3ZuRms+loozPhzHy7lH8APwxWbbizwwG btGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=8cjFO/ttEZmWO/KMXTAg7yGwS0dRWoHpQZoOkwHraNo=; b=hTcWJsgDTT9AhSZf4CzgYX94O0cq54JCII8/u/TGGmwQWQxQdnujYY02DTihbs+5an VFtA0M5rbLNq1GvWvM1trBzTDWEgFr9S2CQt1fZ3owZctsM9yOMjfqez75rdJvr5kiAe ynzVIqb9kwheD9MjgIJH/9jacssGIU9V1Ua3m210UuAzY76Hq0zZq4L99V3WiZPVtv4T FUCzH1UMdwccdBDGe1O1aB9Tt7epqapPz3zYkzu2oLuOhFbmHE3wfGn9+MrWhvmOLS35 N7K4AXtNq3d/jvatllHx+8rFGBid1FxK2/9MJSfHikuscf9wdUUCm29GS3fvzlwwsPtF ocdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CfBxtZMI; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 217.70.189.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mails.dpdk.org (mails.dpdk.org. [217.70.189.124]) by mx.google.com with ESMTP id h10-20020adf9cca000000b0020d0069ce2esi1912837wre.264.2022.05.20.04.36.20; Fri, 20 May 2022 04:36:20 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 217.70.189.124 as permitted sender) client-ip=217.70.189.124; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CfBxtZMI; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 217.70.189.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DB4DA427ED; Fri, 20 May 2022 13:36:19 +0200 (CEST) Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by mails.dpdk.org (Postfix) with ESMTP id 6F33640222 for ; Fri, 20 May 2022 13:36:18 +0200 (CEST) Received: by mail-wr1-f51.google.com with SMTP id r30so11100735wra.13 for ; Fri, 20 May 2022 04:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8cjFO/ttEZmWO/KMXTAg7yGwS0dRWoHpQZoOkwHraNo=; b=CfBxtZMIz+W9p849c4n+inlgs+6MABu+pN5y35o7FfOrngvdy7lHgdlt2woR0YV1B+ Fsn8gpRMb4n/JbYU8KoiKOqbaDxIEtbFG4OMIBmQd0r2VaE6831Y/LcjM/g9u8o3imVq znbdriHxSrZjFqutzMnHP7Ut0cntfAsQtlNfyVHGkHv+ArxSu8nvyrhnYMROyMsjs3IY nmLmocwi/Ag3FCbB/3WZvESWFtZ1jef0SjRmFyp0Qsf/FV1kXDuYNMHEvl16+ADygzxr rewB3km/OYBE0juiq7f4zPQ/M6DaQBID2Il+jX4efA24WCSUyhEZthnplvk6F7mjweZr hshw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=8cjFO/ttEZmWO/KMXTAg7yGwS0dRWoHpQZoOkwHraNo=; b=SndZNGhfTX5G3AJe5xwBRXYQy60m0psC7lj5SbsQWuNRloc+mIXhta5GKUSGPQlcxm UTewheXnD5hKZ2SduB2CLpnKnsCodZMqUnMRFhVLxbKY3H73VciiThe/ij6FG/+tQjPZ orHhOnJwXB51C1P82QqQL4Obinxi8ygissGNNWPXQ1x3vj7ZE+HyJlTq9G5xrQPGNtqC Uo9r9NiW7AaRiB5Z6/Xxnj/7eo3pgxWGRLUh/8pPChRCbn9WCwWnzpzqKmVYNUVfn6TN VrQ+qeCeBeA24yXjWkG1JMQxVgdS/0XhrzPUqrWSzM+cJCJFLT3pKTZ+2J3cZ+I1BR6x HafA== X-Gm-Message-State: AOAM531N7aqlCfPX0W837WZYUB+0gb1LwKJIP3kJ7tTeUShUN5n6T4yT OmhabS1+kfB4r/lHeGMHe/VF1Q== X-Received: by 2002:a05:6000:186b:b0:20c:d9bf:250c with SMTP id d11-20020a056000186b00b0020cd9bf250cmr8478714wri.2.1653046578175; Fri, 20 May 2022 04:36:18 -0700 (PDT) Received: from localhost.localdomain ([213.146.143.36]) by smtp.gmail.com with ESMTPSA id b11-20020adfc74b000000b0020e68218048sm2365572wrh.93.2022.05.20.04.36.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 04:36:17 -0700 (PDT) From: Zhangfei Gao To: Akhil Goyal , Declan Doherty , Fan Zhang , Ashish Gupta , Ray Kinsella Cc: dev@dpdk.org, Zhangfei Gao Subject: [PATCH RFC 0/3] Add UADK compression and crypto PMD Date: Fri, 20 May 2022 19:36:12 +0800 Message-Id: <20220520113615.7224-1-zhangfei.gao@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 Supported hardware platforms: HiSilicon Kunpeng920 and Kunpeng930 The PMD relies on UADK Interface: https://github.com/Linaro/uadk Zhangfei Gao (3): compress: add UADK compression PMD test/crypto: add cryptodev_uadk_autotest drivers/crypto: add UADK crypto PMD app/test/test_cryptodev.c | 7 + app/test/test_cryptodev.h | 1 + doc/guides/compressdevs/index.rst | 1 + doc/guides/compressdevs/uadk.rst | 73 ++ doc/guides/cryptodevs/index.rst | 1 + doc/guides/cryptodevs/uadk.rst | 80 ++ drivers/compress/meson.build | 1 + drivers/compress/uadk/meson.build | 28 + drivers/compress/uadk/uadk_compress_pmd.c | 500 +++++++++ drivers/compress/uadk/version.map | 3 + drivers/crypto/meson.build | 1 + drivers/crypto/uadk/meson.build | 36 + drivers/crypto/uadk/uadk_crypto_pmd.c | 1159 +++++++++++++++++++++ drivers/crypto/uadk/version.map | 3 + 14 files changed, 1894 insertions(+) create mode 100644 doc/guides/compressdevs/uadk.rst create mode 100644 doc/guides/cryptodevs/uadk.rst create mode 100644 drivers/compress/uadk/meson.build create mode 100644 drivers/compress/uadk/uadk_compress_pmd.c create mode 100644 drivers/compress/uadk/version.map 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