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 96058A0562; Wed, 14 Apr 2021 14:20:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7C933161A2F; Wed, 14 Apr 2021 14:20:51 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 477CB161A29 for ; Wed, 14 Apr 2021 14:20:50 +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 13EC9Wx4027567; Wed, 14 Apr 2021 05:20:46 -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=1yCw7YqioVGcdh0Ie+XURXwCxzJSIArFE51kJhVxnQU=; b=LEhSSp8H65a+So8lJKtW2X8Nw3C4wCZaSQOUI3ItbEUMDJmdvmU5uIBd6rdqI4ArbmVa 7lmalStLARYhaBxAJHENzXxYuKWe2Lw/mcHE18d2N759wfzRmjODSgTR0wPXLHOikHMJ G38/e1ON/3xsTrjreVF/Xm7cMz1xagrtJmTN8g6hdXWrcMtK/2vB+oSjzyHqtlpfsdyk PEbSYNH6BDIixQObC/GcTku/DCu9UToHKGMih3TMHRRVRQCMVEKXO6B7002p6mwIQPDo Tmn6CFAIkOHKt27eVQFY6F4n3Yr4ffJgfkv/VN2g4yHyi0RogubWPOtVL75RzFSgBbVF zg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 37wn4wsyvf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 14 Apr 2021 05:20:46 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 14 Apr 2021 05:20:45 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 14 Apr 2021 05:20:45 -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; Wed, 14 Apr 2021 05:20:44 -0700 Received: from localhost.localdomain (unknown [10.28.36.185]) by maili.marvell.com (Postfix) with ESMTP id BE2F63F703F; Wed, 14 Apr 2021 05:20:39 -0700 (PDT) From: To: , , , , CC: , , , , , , , , , , , , , Akhil Goyal Date: Wed, 14 Apr 2021 17:50:32 +0530 Message-ID: <20210414122036.1262579-1-gakhil@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <561328fb16b18404a30a2401c6bfb3a7f373a0f4.1618309291.git.sthotton@marvell.com> References: <561328fb16b18404a30a2401c6bfb3a7f373a0f4.1618309291.git.sthotton@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: rgj_JfymyDvTb7-Q2nDxipPi633ZYfne X-Proofpoint-GUID: rgj_JfymyDvTb7-Q2nDxipPi633ZYfne X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-04-14_07:2021-04-14, 2021-04-14 signatures=0 Subject: [dpdk-dev] [PATCH v9 0/4] 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" From: Akhil Goyal v9: - moved ca_enqueue in the end of rte_eventdev before reserved fields - added exception in libabigail.abignore for reserved fields - added exception in libabigail.abignore for new field addition in place of reserved in rte_eventdev - added deprecation notice to move ca_enqueue up in the structure. v8: - Added metadata NULL check and op free. - events object - > event objects. - Added Acked-by. v7: - Rebased. v6: - Rebased. 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 (2): eventdev: introduce crypto adapter enqueue API devtools: add exception for reserved fields 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 +++++--- devtools/libabigail.abignore | 11 ++- .../prog_guide/event_crypto_adapter.rst | 69 +++++++++------ doc/guides/rel_notes/deprecation.rst | 4 + doc/guides/rel_notes/release_21_05.rst | 6 ++ drivers/crypto/octeontx2/otx2_cryptodev_ops.c | 49 +++++++---- 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 | 9 +- lib/librte_eventdev/rte_eventdev_trace_fp.h | 10 +++ lib/librte_eventdev/version.map | 1 + 18 files changed, 308 insertions(+), 61 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