From patchwork Tue Aug 3 12:01:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akhil Goyal X-Patchwork-Id: 96615 Return-Path: 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 644F7A0A0C; Tue, 3 Aug 2021 14:02:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D2EBE411A7; Tue, 3 Aug 2021 14:02:35 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id D247040E3C for ; Tue, 3 Aug 2021 14:02:33 +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 173C0u4P027401; Tue, 3 Aug 2021 05:02:27 -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=O1LV5PDrmh0J0ki+71N6WIs3taKdZ+afwV2fHVdZ+2M=; b=e/I1x0ZwxaBAdRbtx3VrvCXEj+DGPpuknKnWq4A5dL50yEGMsGRxsBT9aBaGgW7akkeB a1qDjHIjLjMphmTNUab2Ro4tyKu02YdCQlO7MgpigNSnCYNY5+W+tGnH5ZJyW6rkBbFf aLwYjOCbKXkyssrVpZ60q0Lkj56b7nFwCveHKOo0Kjg+B45cmAo7dY1gtO6ROWwqpPUT BprL2vtW+aMc4I6JFq853GtsA087vGflntxNpdUgZm6NrsapBTbgSpaudr9V3Gh0kd4K GnoguwVZtAAA53oyQ5QnqtXKa+v557FFpsGNVjQRLlimbX6pXaFT9L70OKpnSgeQ18Cr Wg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 3a6sfua5ya-12 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 03 Aug 2021 05:02:27 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 3 Aug 2021 05:01:20 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Tue, 3 Aug 2021 05:01:20 -0700 Received: from localhost.localdomain (unknown [10.28.36.185]) by maili.marvell.com (Postfix) with ESMTP id A66BA5B6951; Tue, 3 Aug 2021 05:01:15 -0700 (PDT) From: Akhil Goyal To: CC: , , , , , , , , , , , , , , , , , Akhil Goyal Date: Tue, 3 Aug 2021 17:31:12 +0530 Message-ID: <20210803120112.694697-1-gakhil@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210803115512.694546-1-gakhil@marvell.com> References: <20210803115512.694546-1-gakhil@marvell.com> MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: x7Z3tUAI1gcD6zPw_I7akPTG2FUW1GPB X-Proofpoint-GUID: x7Z3tUAI1gcD6zPw_I7akPTG2FUW1GPB X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-08-03_02:2021-08-03, 2021-08-03 signatures=0 Subject: [dpdk-dev] [PATCH v2] doc: announce restructuring of crypto session structs 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" The structures rte_cryptodev_sym_session and rte_cryptodev_asym_session are not used by the application directly. The application just need an opaque pointer which it can attach to rte_crypto_op while enqueue. Hence, these structures can be internal to library hidden from the user. Signed-off-by: Akhil Goyal Acked-by: Matan Azrad Acked-by: Anoob Joseph Acked-by: Jerin Jacob --- v2: fixed trailing whitespace. doc/guides/rel_notes/deprecation.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index f81bd87f10..c540c90f8e 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -151,6 +151,11 @@ Deprecation Notices * cryptodev: The APIs for interfacing between library and PMD will be marked as internal APIs in DPDK 21.11. +* cryptodev: Hide structures ``rte_cryptodev_sym_session`` and + ``rte_cryptodev_asym_session`` to remove unnecessary indirection between + session and the private data of session. An opaque pointer can be exposed + directly to application which can be attached to the ``rte_crypto_op``. + * security: The functions ``rte_security_set_pkt_metadata`` and ``rte_security_get_userdata`` will be made inline functions and additional flags will be added in structure ``rte_security_ctx`` in DPDK 21.11.