From patchwork Tue Aug 3 12:23:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Akhil Goyal X-Patchwork-Id: 96616 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 89E60A0A0C; Tue, 3 Aug 2021 14:23:55 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 74B08411CE; Tue, 3 Aug 2021 14:23:55 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 7BF4C40E3C for ; Tue, 3 Aug 2021 14:23:53 +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 173CG6WT001581; Tue, 3 Aug 2021 05:23:46 -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=mrZbHQAB+9gZP3vFdud5GVK7rot/gEsFk9p1o8UJz10=; b=IKFFUC5QEASWAjFHGYZu/jQtZIEwb/gsnHN+c5frunp5qIuA66Xw0ansTyio5AzVjgfp RuK3m/q4DuhD1qzyP0Dipae65l/YQGHtvskp6RGEr/VsbH73DSqfnbYnZWOTPsetCPmv fCqnOxUaTz7uafAQBLkMkPkut6INXKLV1voxOxdP2TJ8rwlohY3lYUUi2XJRZNEfwfZY iRmdNRikUViw8+4OzH1WKRyNFUCc3DOb3NaeR4JyaKs+AOeP0icj5PlJsag4DXMfYPsh kR06usmdJXojEBhSYpIl19FUcQpPo/aT0flbE+H8vhGqZfA4udRdoRdp2biCjG9lZQdd KQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com with ESMTP id 3a6b46w250-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 03 Aug 2021 05:23:46 -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.18; Tue, 3 Aug 2021 05:23:44 -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 05:23:44 -0700 Received: from localhost.localdomain (unknown [10.28.36.185]) by maili.marvell.com (Postfix) with ESMTP id 2D4C75B6943; Tue, 3 Aug 2021 05:23:38 -0700 (PDT) From: Akhil Goyal To: CC: , , , , , , , , , , , , , , , , , Akhil Goyal Date: Tue, 3 Aug 2021 17:53:35 +0530 Message-ID: <20210803122335.694818-1-gakhil@marvell.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-GUID: 9Ij402mf3JRKjKlZ1o3smvMMBc7_5bFM X-Proofpoint-ORIG-GUID: 9Ij402mf3JRKjKlZ1o3smvMMBc7_5bFM 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 changes in security session struct 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 structure rte_security_session is not directly used by the application. The application just need an opaque pointer to attached to the mbuf or rte_crypto_op while enqueue. Hence, it can be hidden inside the library and would prevent unnecessary indirection to the priv session data in fastpath. Signed-off-by: Akhil Goyal Acked-by: Konstantin Ananyev Acked-by: Ajit Khaparde Acked-by: Anoob Joseph Acked-by: Jerin Jacob --- doc/guides/rel_notes/deprecation.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index c540c90f8e..8da1c2648c 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -159,3 +159,7 @@ Deprecation Notices * 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. + +* security: Hide stucture ``rte_security_session`` and expose an opaque + pointer for the private data to the application which can be attached + to the packet while enqueuing.