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 17F76431A0 for ; Thu, 19 Oct 2023 02:00:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1208840A7A; Thu, 19 Oct 2023 02:00:31 +0200 (CEST) Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by mails.dpdk.org (Postfix) with ESMTP id C403040291 for ; Thu, 19 Oct 2023 02:00:29 +0200 (CEST) Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-408382da7f0so14694435e9.0 for ; Wed, 18 Oct 2023 17:00:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697673629; x=1698278429; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Yll4IS6fLHq4K/C6G979tDfZe37FsJCgkD/Mcms5ZHU=; b=cFzT2sYVlt0pOyTIgxR2EM833FFT5CDDXEOH62IswrQOmqIA0Im6k6hSO75FaLpAMK 5h5JsSUUn7tQgMUCbfQKtXElk+7dCpam2iZcFu+CloEY3x5qH5Uxd4ji0LXSglVH/vbW 7D7c3/kn+JvLoHcuTubJzfBNd7eqG/ubVyt8qED8AzfY/Dc4hHmyAYRg1DyW0IPoJ9Yk Fp7jLD2HQoUpvFd//Js7XQG6ET6CmQMxGwOF9W4wBnfjJ0cw/vj71NxfVS01gEWL9kLD nLvrlOFr4NtCbeDTm4Yfy6gKZW7iXUYPCVn/xHOqj1rfVHrIakKrAijXrEaUsU5mtqOP iEFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697673629; x=1698278429; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Yll4IS6fLHq4K/C6G979tDfZe37FsJCgkD/Mcms5ZHU=; b=jEWbdHPhRfx+a8+KMcLW6S716VQaHSsip3sBhscalna1SXiST+zcHKFipMpcAF+SwJ JBdG0CG70aTrGS7MQseCtjJQEtqPh7XQxBpu79+If78OjMaugjgJ5WYWK2xF0nCb0WAZ a/TUhbnda3qUEk4EtbBb/YlP3yWNwbdfRhUEDfGi4pBR4XFnAPI24loVsPPQeOeqQIPM XfQ/opikl8ZK8f4T/0i8QtznRJsOneKJnywCdg4TH/bAftiTD6mi++BgCCbFeWx6D8iy zvSzQXoftvJ1irkLnCTf06ITV5RlMByioryDNIZNRaIVGl5gGKbxPMiVWAFjn56pncK5 PkCQ== X-Gm-Message-State: AOJu0Yxx0QXtrPUpjcPcipraGGHhHaxfmER088DcQyKdtlIICbzRjPyy v13nq/EnzQUGSji8pn/+gNs41CDvFDPNLg== X-Google-Smtp-Source: AGHT+IH1RyBioIskK+Ttl2lEM5JxIYwuy7oBvLQ+u78zsGAZ0l2PFTDDYUq3HcvfKlNtzlt/TSqaoQ== X-Received: by 2002:a05:600c:4f49:b0:407:7e4b:67e7 with SMTP id m9-20020a05600c4f4900b004077e4b67e7mr510122wmq.39.1697673629458; Wed, 18 Oct 2023 17:00:29 -0700 (PDT) Received: from localhost ([137.220.119.58]) by smtp.gmail.com with ESMTPSA id je6-20020a05600c1f8600b004063ea92492sm2977850wmb.22.2023.10.18.17.00.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 17:00:29 -0700 (PDT) From: luca.boccassi@gmail.com To: Anoob Joseph Cc: Akhil Goyal , dpdk stable Subject: patch 'cryptodev: add missing doc for security context' has been queued to stable release 20.11.10 Date: Thu, 19 Oct 2023 00:59:08 +0100 Message-Id: <20231018235930.3144-19-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231018235930.3144-1-luca.boccassi@gmail.com> References: <20231018235930.3144-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 20.11.10 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 10/21/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://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/357819967a542e1ca81469da6b43661701c2c415 Thanks. Luca Boccassi --- >From 357819967a542e1ca81469da6b43661701c2c415 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 [ 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/librte_cryptodev/rte_cryptodev.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h index d79996860a..54cf390d1f 100644 --- a/lib/librte_cryptodev/rte_cryptodev.h +++ b/lib/librte_cryptodev/rte_cryptodev.h @@ -875,6 +875,15 @@ struct rte_cryptodev { /**< Flag indicating the device is attached */ } __rte_cache_aligned; +/** + * 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.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-10-19 00:28:57.201825470 +0100 +++ 0019-cryptodev-add-missing-doc-for-security-context.patch 2023-10-19 00:28:56.245805261 +0100 @@ -1 +1 @@ -From 1e71cb205047fd7f151018179279de92b2e92fa2 Mon Sep 17 00:00:00 2001 +From 357819967a542e1ca81469da6b43661701c2c415 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 1e71cb205047fd7f151018179279de92b2e92fa2 ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -14 +15 @@ - lib/cryptodev/rte_cryptodev.h | 9 +++++++++ + lib/librte_cryptodev/rte_cryptodev.h | 9 +++++++++ @@ -17,7 +18,7 @@ -diff --git a/lib/cryptodev/rte_cryptodev.h b/lib/cryptodev/rte_cryptodev.h -index 9246df90ef..9f07e1ed2c 100644 ---- a/lib/cryptodev/rte_cryptodev.h -+++ b/lib/cryptodev/rte_cryptodev.h -@@ -971,6 +971,15 @@ struct rte_cryptodev_cb_rcu { - /**< RCU QSBR variable per queue pair */ - }; +diff --git a/lib/librte_cryptodev/rte_cryptodev.h b/lib/librte_cryptodev/rte_cryptodev.h +index d79996860a..54cf390d1f 100644 +--- a/lib/librte_cryptodev/rte_cryptodev.h ++++ b/lib/librte_cryptodev/rte_cryptodev.h +@@ -875,6 +875,15 @@ struct rte_cryptodev { + /**< Flag indicating the device is attached */ + } __rte_cache_aligned;