From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 9794E1B488 for ; Thu, 22 Nov 2018 17:51:21 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F164630C39E1; Thu, 22 Nov 2018 16:51:20 +0000 (UTC) Received: from ktraynor.remote.csb (unknown [10.36.118.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5D32E60E3F; Thu, 22 Nov 2018 16:51:18 +0000 (UTC) From: Kevin Traynor To: Tomasz Jozwiak Cc: Fiona Trahe , dpdk stable Date: Thu, 22 Nov 2018 16:48:55 +0000 Message-Id: <20181122164957.13003-3-ktraynor@redhat.com> In-Reply-To: <20181122164957.13003-1-ktraynor@redhat.com> References: <20181122164957.13003-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Thu, 22 Nov 2018 16:51:21 +0000 (UTC) Subject: [dpdk-stable] patch 'compressdev: fix compression API description' has been queued to stable release 18.08.1 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: , X-List-Received-Date: Thu, 22 Nov 2018 16:51:22 -0000 Hi, FYI, your patch has been queued to stable release 18.08.1 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/28/18. 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. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Kevin Traynor --- >>From 364bdecd92d5d258f8f54021abdc93ea74789032 Mon Sep 17 00:00:00 2001 From: Tomasz Jozwiak Date: Fri, 28 Sep 2018 15:14:28 +0200 Subject: [PATCH] compressdev: fix compression API description [ upstream commit f1597231ac2f1d07c9f79dc7c66e22b39f468d2e ] This patch fixes following API descriptions - rte_comp_op_raw_bulk_alloc - rte_comp_op_bulk_alloc Fixes: 96086db5a369 ("compressdev: add operation management") Signed-off-by: Tomasz Jozwiak Acked-by: Fiona Trahe --- lib/librte_compressdev/rte_comp.c | 4 ++-- lib/librte_compressdev/rte_comp.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/librte_compressdev/rte_comp.c b/lib/librte_compressdev/rte_comp.c index 98ad0cfd9..c663be595 100644 --- a/lib/librte_compressdev/rte_comp.c +++ b/lib/librte_compressdev/rte_comp.c @@ -84,6 +84,6 @@ struct rte_comp_op_pool_private { * Number of operations to allocate * @return - * - 0: Success - * - -ENOENT: Not enough entries in the mempool; no ops are retrieved. + * - nb_ops: Success, the nb_ops requested was allocated + * - 0: Not enough entries in the mempool; no ops are retrieved. */ static inline int diff --git a/lib/librte_compressdev/rte_comp.h b/lib/librte_compressdev/rte_comp.h index ee9056ea3..395ce29f8 100644 --- a/lib/librte_compressdev/rte_comp.h +++ b/lib/librte_compressdev/rte_comp.h @@ -449,6 +449,6 @@ rte_comp_op_alloc(struct rte_mempool *mempool); * Number of operations to allocate * @return - * - 0: Success - * - -ENOENT: Not enough entries in the mempool; no ops are retrieved. + * - nb_ops: Success, the nb_ops requested was allocated + * - 0: Not enough entries in the mempool; no ops are retrieved. */ int __rte_experimental -- 2.19.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2018-11-22 16:47:32.360282077 +0000 +++ 0003-compressdev-fix-compression-API-description.patch 2018-11-22 16:47:32.000000000 +0000 @@ -1,14 +1,15 @@ -From f1597231ac2f1d07c9f79dc7c66e22b39f468d2e Mon Sep 17 00:00:00 2001 +From 364bdecd92d5d258f8f54021abdc93ea74789032 Mon Sep 17 00:00:00 2001 From: Tomasz Jozwiak Date: Fri, 28 Sep 2018 15:14:28 +0200 Subject: [PATCH] compressdev: fix compression API description +[ upstream commit f1597231ac2f1d07c9f79dc7c66e22b39f468d2e ] + This patch fixes following API descriptions - rte_comp_op_raw_bulk_alloc - rte_comp_op_bulk_alloc Fixes: 96086db5a369 ("compressdev: add operation management") -Cc: stable@dpdk.org Signed-off-by: Tomasz Jozwiak Acked-by: Fiona Trahe