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 A7D86A0C41; Thu, 8 Apr 2021 21:24:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5C08A1411B7; Thu, 8 Apr 2021 21:24:36 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 8E54D1411B6 for ; Thu, 8 Apr 2021 21:24:34 +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 138JOWgW021575; Thu, 8 Apr 2021 12:24:32 -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=MA615HNZ65bbYyujPDRgbJnxRT0nW0Qh7ZkI2Iig/yY=; b=XR+bB/k8UmGyZdcvFHIyFzQdHcz1WxA+sc1Fsd7BION0tmb7i/osPw0N1O6oea3jFEM0 6sgbP7jENVvSNHW+k3v6QgsD94OpqBtnagCtgtAno9Fxn2qFFhs0MGLAy1T7jkFavU3i 9ou2E6S42LxtxDl8qscyMDmaBNvEOp8yBER9pLaZN2keeOKwRkSKKOkzGom3Y1+gjTht 0D0q3kSM4JpsWo2HZgr1DHm/rTl+AOpIGuQ9LuBPdXKVYsNFjvwhQHByq6d9zsJ6QCUs tOVEhB1jX6FRdzeJoyZQr9a7JM7AGEbTGolAGt/vWycQ055jrZVQzHkh/Lo//Y0ibbIm +g== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com with ESMTP id 37shqxmjrg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 08 Apr 2021 12:24:32 -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; Thu, 8 Apr 2021 12:24:31 -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; Thu, 8 Apr 2021 12:24:31 -0700 Received: from localhost.localdomain (unknown [10.28.34.29]) by maili.marvell.com (Postfix) with ESMTP id BE6A53F703F; Thu, 8 Apr 2021 12:24:26 -0700 (PDT) From: Shijith Thotton To: CC: Shijith Thotton , , , , , , , , , , , , , , , Akhil Goyal Date: Fri, 9 Apr 2021 00:54:14 +0530 Message-ID: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: xv7JshCVE1ITsXl6wC-YDq83Myk6e9-l X-Proofpoint-GUID: xv7JshCVE1ITsXl6wC-YDq83Myk6e9-l X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-08_04:2021-04-08, 2021-04-08 signatures=0 Subject: [dpdk-dev] [PATCH v5 0/3] 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 are added in third patch. v5: - Set rte_errno if crypto adapter enqueue fails in driver. - Test application code restructuring. v4: - Fix debug build. v3: - Added crypto adapter test application changes. 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 (2): event/octeontx2: support crypto adapter forward mode test/event_crypto: use crypto adapter enqueue API app/test/test_event_crypto_adapter.c | 33 +++++--- .../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 | 83 +++++++++++++++++++ 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 | 63 ++++++++++++++ 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 | 1 + 16 files changed, 286 insertions(+), 60 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 -- 2.25.1