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 AD13D45455; Fri, 14 Jun 2024 03:03:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 81DE1410E4; Fri, 14 Jun 2024 03:03:37 +0200 (CEST) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by mails.dpdk.org (Postfix) with ESMTP id CBC70402C6 for ; Fri, 14 Jun 2024 03:03:36 +0200 (CEST) Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-52c8342af5eso1788938e87.3 for ; Thu, 13 Jun 2024 18:03:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718327016; x=1718931816; darn=dpdk.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=OUSk1Sy4m0otv/RkEt2cdYQq8iLmsVpP8Kp0kkGPbwQ=; b=QP8JdPDavfvkmkVRW3W/v5hzcsQ8o1Pw4xR4a6YAJSBIHX6PFGiqrDozZD4oeKBqk9 Ev0ro5Uel2+ZHXojQlzea6Ev98/ixxnSuS5wAg2krxkbxOdOr7x2gmF7Let9xJ2ETV+4 01IWwS69f4HZwYa8alQZBjGHNtx9fBQzIqOYjrf2nKbiM/W1z+N5vpd46+b4PwqR4oP9 CZ+RAj7uA6p667lDGTWCuepQWZgcJ/0RsZqKqXNdwPAZAGCNe2X88iBpqJoooAs61JFd r/PDb+Q+g0cfWharINqHZRbYDKxzxSj5pkNT+1tJP5TJgG6qWQWvyU7hJpcwrxMg426+ W5DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718327016; x=1718931816; h=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=OUSk1Sy4m0otv/RkEt2cdYQq8iLmsVpP8Kp0kkGPbwQ=; b=aGRzgbnI026rfTAPC0qY2Z7dr8EiTsj1xSh+nuWCiKGu1RXcnnJ6Uq7x1tByngURmU 8d9QPjYMMRckMck5HGhUHjF0t826Hepb/eiarZ6BLtcKh6ZIzomlKDDEVGapBOsVyK18 HF/boqsp+ErKJoNgiMTYqhhBh3Pvo7AlpZ+c2xoX9T6g6wTWcWwDY9hzaIF6cdXRB2VY gz3TQrzDS2apD6OYn/HpHzQEV79RfUjN3VW8OcKEjZGVX7I10Pg7GahvTT9yGgf9xmur amJbfQxZqqj2gs+/GuiGXBDhYuv/vQ/2TXalSaDJAfegt3vPLo5j0CaOtvRSqUpnfIpA wHWA== X-Forwarded-Encrypted: i=1; AJvYcCUv8d2FaYhboI+t4pB5/xmTyAU+ABlN8a/wAQ1xngL3bKVP3zh76jAEuCE29/if3ZhJkYsT6ws32AVzp+Y= X-Gm-Message-State: AOJu0Ywdy7TPQpeEciyKnT67vkNjKW7v5+duo3oZ0xNCP1perSGNU3Xi 8FFdgLeLaCqyNXv3s6K4Z5kArnWA0mIbJY6RYa68nU5EvOkC2RkCCeENoSjtsvFYO66RKCb0oyw MK/WBLoRcdqFogWd1Oc3zc/Imk5J1sQGZ7WBTFQ== X-Google-Smtp-Source: AGHT+IH8d3gCt7sNDVTVLrNbwA2Lpx2XfZvZ3wIbg25a+ZmTJF8pN08UbfVr/Ujrle+Xc0CMeDJx5rKAo09Yu9/VbIc= X-Received: by 2002:a19:8c06:0:b0:52b:bfa7:9b3e with SMTP id 2adb3069b0e04-52ca6e6d598mr622815e87.37.1718327016105; Thu, 13 Jun 2024 18:03:36 -0700 (PDT) MIME-Version: 1.0 References: <20240611070726.468-1-zhangfei.gao@linaro.org> In-Reply-To: From: Zhangfei Gao Date: Fri, 14 Jun 2024 09:03:25 +0800 Message-ID: Subject: Re: [EXTERNAL] [PATCH v3 0/3] Introduce UADK compression driver To: Akhil Goyal Cc: Fan Zhang , Ashish Gupta , "dev@dpdk.org" Content-Type: text/plain; charset="UTF-8" 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 Fri, 14 Jun 2024 at 01:59, Akhil Goyal wrote: > > > Introduce a new compress 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. > > > > Besides, crypto PMD is under drivers/crypto/uadk/ > > > > [1] https://urldefense.proofpoint.com/v2/url?u=https- > > 3A__github.com_Linaro_uadk&d=DwIDAg&c=nKjWec2b6R0mOyPaz7xtfQ&r=DnL > > 7Si2wl_PRwpZ9TWey3eu68gBzn7DkPwuqhd6WNyo&m=xPSsnaP1teim3GosZniW > > _hGTHaRVZbQ8e65iuPxG-syp2JTmNilH06te_yWcoUeO&s=C9wsl1Qvu56lo3P- > > w6bG_-XRqtFR2i1yhJL4EQj-WRU&e= > > > > Test: > > sudo dpdk-test --vdev=compress_uadk > > RTE>>compressdev_autotest > > RTE>>quit > > > > dd if=/dev/random of=data bs=1M count=1; > > sudo dpdk-test-compress-perf -l 1,2 --vdev compress_uadk \ > > -- --driver-name compress_uadk --input-file data > > > > v3: add the missing doc uadk.ini and change some docs to patch1 > > > > v2: > > remove mempool and simply use rte_malloc, suggested by Akhil > > move doc to patch 3 from patch 1 > > > > > > Zhangfei Gao (3): > > compress/uadk: Introduce UADK compression driver > > compress/uadk: support basic operations > > compress/uadk: support burst enqueue/dequeue > > > > MAINTAINERS | 6 + > > doc/guides/compressdevs/features/uadk.ini | 11 + > > doc/guides/compressdevs/index.rst | 1 + > > doc/guides/compressdevs/uadk.rst | 98 ++++ > > doc/guides/rel_notes/release_24_07.rst | 5 + > > drivers/compress/meson.build | 1 + > > drivers/compress/uadk/meson.build | 30 ++ > > drivers/compress/uadk/uadk_compress_pmd.c | 436 ++++++++++++++++++ > > .../compress/uadk/uadk_compress_pmd_private.h | 36 ++ > > 9 files changed, 624 insertions(+) > > create mode 100644 doc/guides/compressdevs/features/uadk.ini > > create mode 100644 doc/guides/compressdevs/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/uadk_compress_pmd_private.h > > > Series Applied to dpdk-next-crypto Great, Thanks Akhil