From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 86FC5A0093 for ; Tue, 19 May 2020 15:06:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4F65E1D155; Tue, 19 May 2020 15:06:00 +0200 (CEST) Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by dpdk.org (Postfix) with ESMTP id F34311D155 for ; Tue, 19 May 2020 15:05:58 +0200 (CEST) Received: by mail-wr1-f65.google.com with SMTP id w7so15771553wre.13 for ; Tue, 19 May 2020 06:05:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=c0ZzR20vAtJFOJ+2C820dGKtzaQwmPidqxeLF7xmsUM=; b=VUPCKOkbRPNl042PjjZV2HHKyw4AsTdPYTwXhqKSxEAhanaYpyWwwMhSiCyFfG57dN hpn0Gci5a6mte/XWUp7cwe/Lrkcf3e59EuYdBLsaXSvkGaUC9uQAMMlZzhId10wFaKv2 q83RAerxigqfeJ4wQ2BApbYv0AOyURnM61Sp88BfOiejnZ3X0rpjiSrKMaqzDLyGXWIt +Yo3EA6D5qOhgHGKiwlZyKF6vhWaOyA47f+6DocrMDTbvcFfmm/f4PnrygVVCnu5V4MK /ciofVJjovcxZqTmNsEt+HvIsmaRCqD7qWf5Mt3KgGjoXZevwgapTV1m+TO7WuhRvNh2 5FRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=c0ZzR20vAtJFOJ+2C820dGKtzaQwmPidqxeLF7xmsUM=; b=EBo0xUYSckmHa5CQSOnsSSN9Rnk+9elmzwFMWVh8msNVSnsgLQ+3oVgvGNRwLrfvbk K4gTwVXh7mcrPtEqPm+EbNaQ1DV+iNmpNdpvGWY+yfXe3yNTcHoDGyiUukw9ViLQIKHj c68p0uGt5J4UgBKUZGLK0I+PVlk5dbC8uWblWqVagaYAG9AUYMTMl9rRf0Q3BQN+E4qp SXOWHh5HpB8Kqrdy4OChSPkWtMsm6Vfwkg/uXIdzWTnn6+ThA6gvTuyUvAnU0hdE+cgU uFo+nB5lhUZmSjYQJ4wlQMK3UoGrN07gRkJgiIVtAu5/Yj81tFyxTbStwQskdIJ4gWqG +JIA== X-Gm-Message-State: AOAM531+4v1YeTS4Jt+WAHA0zZbPWlOdGKEzy1jgSwMs6MpodUV4CF1C DYed+Gx9TNIFvFQHnbxRhWc= X-Google-Smtp-Source: ABdhPJyM7vNVyfcoPiKZUF3IwJikuryK5uGLelVfrFUJFiQrv2hspcc1gLH6iZjnUdZmaMNysH43Uw== X-Received: by 2002:adf:db4c:: with SMTP id f12mr24831219wrj.387.1589893558581; Tue, 19 May 2020 06:05:58 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id w82sm3807451wmg.28.2020.05.19.06.05.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 06:05:58 -0700 (PDT) From: luca.boccassi@gmail.com To: Lukasz Wojciechowski Cc: Anoob Joseph , Akhil Goyal , dpdk stable Date: Tue, 19 May 2020 14:02:16 +0100 Message-Id: <20200519130549.112823-1-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519125804.104349-1-luca.boccassi@gmail.com> References: <20200519125804.104349-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'security: fix return types in documentation' has been queued to stable release 19.11.3 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 19.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/21/20. 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. Thanks. Luca Boccassi --- >From 477f8e08d34ca2c7e113e86c1463c0eeb5bf55f7 Mon Sep 17 00:00:00 2001 From: Lukasz Wojciechowski Date: Thu, 9 Apr 2020 19:24:51 +0200 Subject: [PATCH] security: fix return types in documentation [ upstream commit 3139b9568bf0889c76da7b7d728f17502d6ff5a9 ] Enhance returned values description for rte_security_session_destroy and some other minor description changes. Fixes: c261d1431bd8 ("security: introduce security API and framework") Signed-off-by: Lukasz Wojciechowski Acked-by: Anoob Joseph Acked-by: Akhil Goyal --- lib/librte_security/rte_security.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte_security.h index 546779df2b..b4b4eb2d85 100644 --- a/lib/librte_security/rte_security.h +++ b/lib/librte_security/rte_security.h @@ -374,7 +374,7 @@ rte_security_session_create(struct rte_security_ctx *instance, * @param conf update configuration parameters * @return * - On success returns 0 - * - On failure return errno + * - On failure returns a negative errno value. */ __rte_experimental int @@ -399,12 +399,14 @@ rte_security_session_get_size(struct rte_security_ctx *instance); * return it to its original mempool. * * @param instance security instance - * @param sess security session to freed + * @param sess security session to be freed * * @return * - 0 if successful. - * - -EINVAL if session is NULL. + * - -EINVAL if session or context instance is NULL. * - -EBUSY if not all device private data has been freed. + * - -ENOTSUP if destroying private data is not supported. + * - other negative values in case of freeing private data errors. */ int rte_security_session_destroy(struct rte_security_ctx *instance, -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-05-19 14:04:44.671321028 +0100 +++ 0001-security-fix-return-types-in-documentation.patch 2020-05-19 14:04:44.048645327 +0100 @@ -1,13 +1,14 @@ -From 3139b9568bf0889c76da7b7d728f17502d6ff5a9 Mon Sep 17 00:00:00 2001 +From 477f8e08d34ca2c7e113e86c1463c0eeb5bf55f7 Mon Sep 17 00:00:00 2001 From: Lukasz Wojciechowski Date: Thu, 9 Apr 2020 19:24:51 +0200 Subject: [PATCH] security: fix return types in documentation +[ upstream commit 3139b9568bf0889c76da7b7d728f17502d6ff5a9 ] + Enhance returned values description for rte_security_session_destroy and some other minor description changes. Fixes: c261d1431bd8 ("security: introduce security API and framework") -Cc: stable@dpdk.org Signed-off-by: Lukasz Wojciechowski Acked-by: Anoob Joseph @@ -17,10 +18,10 @@ 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/librte_security/rte_security.h b/lib/librte_security/rte_security.h -index ef47118fa7..747830d679 100644 +index 546779df2b..b4b4eb2d85 100644 --- a/lib/librte_security/rte_security.h +++ b/lib/librte_security/rte_security.h -@@ -378,7 +378,7 @@ rte_security_session_create(struct rte_security_ctx *instance, +@@ -374,7 +374,7 @@ rte_security_session_create(struct rte_security_ctx *instance, * @param conf update configuration parameters * @return * - On success returns 0 @@ -29,7 +30,7 @@ */ __rte_experimental int -@@ -403,12 +403,14 @@ rte_security_session_get_size(struct rte_security_ctx *instance); +@@ -399,12 +399,14 @@ rte_security_session_get_size(struct rte_security_ctx *instance); * return it to its original mempool. * * @param instance security instance