[dpdk-stable] patch 'compressdev: fix compression API description' has been queued to stable release 18.08.1

Kevin Traynor ktraynor at redhat.com
Thu Nov 22 17:48:55 CET 2018


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 <tomaszx.jozwiak at intel.com>
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 <tomaszx.jozwiak at intel.com>
Acked-by: Fiona Trahe <fiona.trahe at intel.com>
---
 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 <tomaszx.jozwiak at intel.com>
 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 at dpdk.org
 
 Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak at intel.com>
 Acked-by: Fiona Trahe <fiona.trahe at intel.com>


More information about the stable mailing list