[v2,0/2] Enhancements to crypto adapter forward mode
Message ID | cover.1617029572.git.sthotton@marvell.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 42103A0548; Mon, 29 Mar 2021 17:04:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 141D6140DD9; Mon, 29 Mar 2021 17:04:34 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 4F444140DAF for <dev@dpdk.org>; Mon, 29 Mar 2021 17:04:31 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 12TEuocY013618; Mon, 29 Mar 2021 08:04:31 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=xEoiN3jA7tbBps1cEYtlQ5SpRuBR2iIH1HhMGC4nymE=; b=kh8hIXjI7tkFJ1caDEC2FyS6+VTdwiVmTtNmTy2nvkTHBFRkCpRqg2sIS0ND1U5t2H21 BydJaz6rqhHCzcjENDCI0EhMi0O09xmTYWO8tXYF6JEGmqYHL9P0W0tCUZq66ZQG4sUj vqNWdvAEZ9fgYUA5hCdd5OZ5kz2XII+1xMk+P1HlxbrFIQQ6lHWg0bI2VWGYd3K8as17 EEwrFUTuq7Xr+qUcNiD0VRR/FcXnDPgYrwplVToe9Lxpthia7k1Vvsmd258g4Y9n3GfK TGY9RiZaZ7Dm0rFJLeor3J1HHM2L1ddNXx0sy/Gqso4967gPMzaBIoUSe6zLZqbuyOht fA== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 37k63b9wqw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 29 Mar 2021 08:04:30 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 29 Mar 2021 08:04:29 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 29 Mar 2021 08:04:29 -0700 Received: from localhost.localdomain (unknown [10.28.34.29]) by maili.marvell.com (Postfix) with ESMTP id C3A7C3F7040; Mon, 29 Mar 2021 08:04:24 -0700 (PDT) From: Shijith Thotton <sthotton@marvell.com> To: <dev@dpdk.org> CC: Shijith Thotton <sthotton@marvell.com>, <thomas@monjalon.net>, <jerinj@marvell.com>, <abhinandan.gujjar@intel.com>, <hemant.agrawal@nxp.com>, <nipun.gupta@nxp.com>, <sachin.saxena@oss.nxp.com>, <anoobj@marvell.com>, <matan@nvidia.com>, <roy.fan.zhang@intel.com>, <g.singh@nxp.com>, <erik.g.carrillo@intel.com>, <jay.jayatheerthan@intel.com>, <pbhagavatula@marvell.com>, <harry.van.haaren@intel.com>, Akhil Goyal <gakhil@marvell.com> Date: Mon, 29 Mar 2021 20:34:01 +0530 Message-ID: <cover.1617029572.git.sthotton@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <cover.1616748930.git.sthotton@marvell.com> References: <cover.1616748930.git.sthotton@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: XfDlxwrZkREVgHEdrjX_RHSFYooU6r39 X-Proofpoint-GUID: XfDlxwrZkREVgHEdrjX_RHSFYooU6r39 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369, 18.0.761 definitions=2021-03-29_10:2021-03-26, 2021-03-29 signatures=0 Subject: [dpdk-dev] [PATCH v2 0/2] Enhancements to crypto adapter forward mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Shijith Thotton
March 29, 2021, 3:04 p.m. UTC
This series proposes a new event device enqueue operation if crypto adapter forward mode is supported. Second patch in the series is the implementation of the same in PMD. Test application changes for the usage of new API is yet to add. v2: - Updated release notes. - Made use of RTE_EVENTDEV_VALID_DEVID_OR_ERR_RET macro. - Fixed v1 build error. v1: - Added crypto adapter forward mode support for octeontx2. Akhil Goyal (1): eventdev: introduce crypto adapter enqueue API Shijith Thotton (1): event/octeontx2: support crypto adapter forward mode .../prog_guide/event_crypto_adapter.rst | 69 ++++++++++------ doc/guides/rel_notes/release_21_05.rst | 6 ++ drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 42 ++++++---- drivers/event/octeontx2/otx2_evdev.c | 5 +- .../event/octeontx2/otx2_evdev_crypto_adptr.c | 3 +- ...dptr_dp.h => otx2_evdev_crypto_adptr_rx.h} | 6 +- .../octeontx2/otx2_evdev_crypto_adptr_tx.h | 82 +++++++++++++++++++ drivers/event/octeontx2/otx2_worker.h | 2 +- drivers/event/octeontx2/otx2_worker_dual.h | 2 +- lib/librte_eventdev/eventdev_trace_points.c | 3 + .../rte_event_crypto_adapter.h | 62 ++++++++++++++ lib/librte_eventdev/rte_eventdev.c | 10 +++ lib/librte_eventdev/rte_eventdev.h | 8 +- lib/librte_eventdev/rte_eventdev_trace_fp.h | 10 +++ lib/librte_eventdev/version.map | 3 + 15 files changed, 265 insertions(+), 48 deletions(-) rename drivers/event/octeontx2/{otx2_evdev_crypto_adptr_dp.h => otx2_evdev_crypto_adptr_rx.h} (93%) create mode 100644 drivers/event/octeontx2/otx2_evdev_crypto_adptr_tx.h