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 3BD03A0A0C; Tue, 3 Aug 2021 13:55:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 01EC1411A7; Tue, 3 Aug 2021 13:55:32 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id D64AB40E3C for ; Tue, 3 Aug 2021 13:55:30 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 173Bk0wK028643; Tue, 3 Aug 2021 04:55:25 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=W6juESe+TLPFrkwVz7bzhxjryZOK7OoENL5uELz1otU=; b=WJfpGrBJjTgSz4xNlcV3ENR89r/8d28n03GB2IO2jXEA+27b/6qsBCBzx/fj+xeOSVkF lXB8sgQ96ZBmXzuH0yMuH6b+R8SQHZhrjyePDVe2VRwV0Ma9PFRZxqVJwk59WKQDJ6Fn TrAnsMAtClq5WapLic8s7AuCh9AP69nTXmcIYCYMsUt8XagywujV+10D0nK39Qd3zXBE g/aXkTGtlUbaCRxbvXuCk/4jumTKHv2SBR/1i5ZIgdZ2RiHrSzdZ1ck/4sft3HPugq9j 4qA5MR+3Miu/owlwQSOrDyXfH82U2XFQB/VvP4r8xfOxFA11Mbg85tRaUY+LrOGvAlf3 Ww== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 3a6b46w0vt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 03 Aug 2021 04:55:25 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 3 Aug 2021 04:55:22 -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.18 via Frontend Transport; Tue, 3 Aug 2021 04:55:22 -0700 Received: from localhost.localdomain (unknown [10.28.36.185]) by maili.marvell.com (Postfix) with ESMTP id EB9345B6943; Tue, 3 Aug 2021 04:55:17 -0700 (PDT) From: Akhil Goyal To: CC: , , , , , , , , , , , , , , , , , Akhil Goyal Date: Tue, 3 Aug 2021 17:25:12 +0530 Message-ID: <20210803115512.694546-1-gakhil@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: 3RfSH3JrMk4YD7bf4iFTCtkxxf6K1KKg X-Proofpoint-ORIG-GUID: 3RfSH3JrMk4YD7bf4iFTCtkxxf6K1KKg 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] 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 --- 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..7140e345b6 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. -- 2.25.1