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 C5F10431D5 for ; Sun, 22 Oct 2023 16:26:36 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BED4E402E6; Sun, 22 Oct 2023 16:26:36 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2075.outbound.protection.outlook.com [40.107.237.75]) by mails.dpdk.org (Postfix) with ESMTP id 214B9402E4 for ; Sun, 22 Oct 2023 16:26:35 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ep/kOfECFx9gYs0xm7tQ6DymVDToWDgm5gywfXmQM8322bnV2jyCbCkikO1O8klzGg8cGJ/RYDRfcM5wa8Qxlc/tkzLRzAKkE8Pku5i33gK3rkTGd300hd3ljJKquHPRx15FXD70IOTIkO6g+9zWXEFAJ1UkvF1UMN8SgI+/IaRa1+T8zCnCEe5HgzpJDW92SkV0rLc0V3P0N5UWfYyPZNi3Qzu88kJr4JVub4mMF2GX5xL8Fx8sE1CPHxKBOIrG0NQWfuGmJ0/r/pjKn3k6deFrJO4su5PTA+cCJ4TnTyxIn0TOScFaKftomFdWdwpFkrYNWrwIWsFPBTG6zmkxKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lWXz1JEPI1e7fQY4awJGHqcCCZr9v7XDuVSgxIejPdM=; b=exdJZFZsFVo0iDmjdp3nmcqjeRE8kmHIvcjRJ0vPbdr4/YWLG9mht2CF4jd2zEA/twdPBuKBL4xNTzO7JLCeg0MenP7loa4lJK4O2q+sPchL+nv/pVs8AibIMQritntSzwvP6iSL7qVix1L+i7GG+6MHCRBzlQxSPcCMRQuAj9hAhAv936abTZY+YFeYA2AjjnJ+N3v3Div60GosmDuWaZQRK1pE/vmzMk6/Ytq+QdFiSXrUgL1kDGBGuPjCmmBqg+kVLimBHGFCGv3BqI8agZLjzB6adJZlQWktWKz7qNzvfqPabOnlzRycaRjm9t7Q/h3k3Cbkdjpz2LN/N87pLg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=marvell.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lWXz1JEPI1e7fQY4awJGHqcCCZr9v7XDuVSgxIejPdM=; b=uIJRZhmsDU+MJHevbIZQ/p0/kE6uKsiM2o1nIZzkpt9ay0AQtppNoBlyYfBcvnh8EIkI9pIU/W6JJae+I9//WHrOEkMOqkdChyo7R7MZhCR0MnDLdIdwx/H4cWW0gpmh7R21cFbHw48T2/j9IBZTAM9ikcBSJZ6Enz6UIYvuZz1vSUIUdfAQDJ5KCE1BJSHwTC4x+kho57Bkaf29nxXJbpUQZ2oAeQK7ISN4/7HcKRdV04x/RJfdt8IDRrqxxo/EZ4RradG9RKe5AwGi5fBSaF7WCbcLv1XEi0TNDNl4wxQbub/3BnN/KP4iAVgfoIhML5ePhSF3uXWVKpXSAHlPMw== Received: from DS7PR03CA0312.namprd03.prod.outlook.com (2603:10b6:8:2b::21) by SJ1PR12MB6074.namprd12.prod.outlook.com (2603:10b6:a03:45f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.31; Sun, 22 Oct 2023 14:26:31 +0000 Received: from DS1PEPF00017090.namprd03.prod.outlook.com (2603:10b6:8:2b:cafe::4c) by DS7PR03CA0312.outlook.office365.com (2603:10b6:8:2b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.31 via Frontend Transport; Sun, 22 Oct 2023 14:26:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by DS1PEPF00017090.mail.protection.outlook.com (10.167.17.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.15 via Frontend Transport; Sun, 22 Oct 2023 14:26:30 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Sun, 22 Oct 2023 07:26:21 -0700 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Sun, 22 Oct 2023 07:26:20 -0700 From: Xueming Li To: Anoob Joseph CC: Akhil Goyal , dpdk stable Subject: patch 'cryptodev: add missing doc for security context' has been queued to stable release 22.11.4 Date: Sun, 22 Oct 2023 22:21:08 +0800 Message-ID: <20231022142250.10324-40-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231022142250.10324-1-xuemingl@nvidia.com> References: <20231022142250.10324-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF00017090:EE_|SJ1PR12MB6074:EE_ X-MS-Office365-Filtering-Correlation-Id: 6c639ee5-a3c7-4213-a6b0-08dbd30ae2b7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gAfer1p7XuiSFk36yePvwfU2Gr3t93jOXBbRpSWrDPfIWM4aZmuIAdugj0Z0vX3AVDPl81je1YmHcy4wuwUmVLlr5YFgWnkCXR1Caxm/5rBA/0pKWnKhLpHtmuB0dSlSiM/dEDAnNiyaNmsDPY24UTjNI6YjrYJMi/tNIiszAzx06L4MxFk2rvm0FkwyRH4OYdyQahJG09SHzTGxm063kRqUL5kaQ8Cim2993xRwwb+4IT30brBr4iPoLgIPyLHKFoJ19sh1HcuJzCdp9y4edvOp7WO5ZbaK/C/14iHEu6RqLzyqF1AEui8wGD8OEbQ6A9u1skZ/5HCic8+y6wBLWFs/D+8UZ1c+UiDNSfwxE2uzC+gpoYsQTJaZuKM2mu2ryec6MHwkhelmRvuFIx6RygyMYkJMQKI+IrniIGQ61MuSOobKYaZx71hZtn573txMns9JIT2qc5fbSa6sjfqVwKtk8IGEJ7w20/a7eRRLxsLSWYrk0II+a57CoNRRAM23MfvtSv+W/KHZQ/MVrSret6/g26Q1ne4xqnrQdvJfdvjyKBHRn5nH7+ImiACpaPnmavf8KBA+YN3ugw6Hg1ar7CcQavFG6/Z9DqhQBIwxQntp4PViQWBv7AXpljtuKEdCcbFFabP7wyuas4+g8HibsPt1s9BLjIvLkDZgs645YFXmdnh4uDkgXiECFHM1cWsV378d8lN296PRYRNOiNp5fmNIm5aU6DvTL0a6OZLrPdACvdChhK0PZsld39/u6JyuRYlcS/EVTeNnNy6l3OwxzA== X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230031)(4636009)(136003)(346002)(376002)(39860400002)(396003)(230922051799003)(82310400011)(451199024)(64100799003)(186009)(1800799009)(40470700004)(36840700001)(46966006)(4001150100001)(2906002)(55016003)(40460700003)(41300700001)(86362001)(36756003)(5660300002)(8676002)(8936002)(4326008)(15650500001)(2616005)(7636003)(478600001)(7696005)(16526019)(6286002)(26005)(1076003)(356005)(36860700001)(82740400003)(54906003)(316002)(70586007)(6916009)(70206006)(6666004)(83380400001)(40480700001)(966005)(53546011)(426003)(336012)(47076005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Oct 2023 14:26:30.8471 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6c639ee5-a3c7-4213-a6b0-08dbd30ae2b7 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF00017090.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR12MB6074 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 22.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/15/23. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=8af3c9994e805c52d300dd5d9ef962170f0b8cea Thanks. Xueming Li --- >From 8af3c9994e805c52d300dd5d9ef962170f0b8cea Mon Sep 17 00:00:00 2001 From: Anoob Joseph Date: Tue, 12 Sep 2023 16:12:14 +0530 Subject: [PATCH] cryptodev: add missing doc for security context Cc: Xueming Li [ upstream commit 1e71cb205047fd7f151018179279de92b2e92fa2 ] Description for rte_cryptodev_get_sec_ctx is missing. Add the same. Fixes: eadb4fa1e1fe ("cryptodev: support security APIs") Signed-off-by: Anoob Joseph Acked-by: Akhil Goyal --- lib/cryptodev/rte_cryptodev.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/cryptodev/rte_cryptodev.h b/lib/cryptodev/rte_cryptodev.h index 4c210b876c..0c9464649a 100644 --- a/lib/cryptodev/rte_cryptodev.h +++ b/lib/cryptodev/rte_cryptodev.h @@ -906,6 +906,15 @@ struct rte_cryptodev_cb_rcu { /**< RCU QSBR variable per queue pair */ }; +/** + * Get the security context for the cryptodev. + * + * @param dev_id + * The device identifier. + * @return + * - NULL on error. + * - Pointer to security context on success. + */ void * rte_cryptodev_get_sec_ctx(uint8_t dev_id); -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-10-22 22:17:35.889243800 +0800 +++ 0039-cryptodev-add-missing-doc-for-security-context.patch 2023-10-22 22:17:34.226723700 +0800 @@ -1 +1 @@ -From 1e71cb205047fd7f151018179279de92b2e92fa2 Mon Sep 17 00:00:00 2001 +From 8af3c9994e805c52d300dd5d9ef962170f0b8cea Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 1e71cb205047fd7f151018179279de92b2e92fa2 ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org @@ -18 +20 @@ -index 9246df90ef..9f07e1ed2c 100644 +index 4c210b876c..0c9464649a 100644 @@ -21 +23 @@ -@@ -971,6 +971,15 @@ struct rte_cryptodev_cb_rcu { +@@ -906,6 +906,15 @@ struct rte_cryptodev_cb_rcu {