All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] compressdev: fix compression api description
@ 2018-09-28 13:00 Tomasz Jozwiak
  2018-09-28 13:14 ` Tomasz Jozwiak
  0 siblings, 1 reply; 4+ messages in thread
From: Tomasz Jozwiak @ 2018-09-28 13:00 UTC (permalink / raw)
  To: dev, fiona.trahe, tomaszx.jozwiak, stable, akhil.goyal

This patch fixes descripton of API functions:
  -  rte_comp_op_raw_bulk_alloc
  -  rte_comp_op_bulk_alloc

Fixes: 96086db5a369 ("compressdev: add operation management")
Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@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 98ad0cf..c663be5 100644
--- a/lib/librte_compressdev/rte_comp.c
+++ b/lib/librte_compressdev/rte_comp.c
@@ -83,8 +83,8 @@ struct rte_comp_op_pool_private {
  * @param nb_ops
  *   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
 rte_comp_op_raw_bulk_alloc(struct rte_mempool *mempool,
diff --git a/lib/librte_compressdev/rte_comp.h b/lib/librte_compressdev/rte_comp.h
index ee9056e..395ce29 100644
--- a/lib/librte_compressdev/rte_comp.h
+++ b/lib/librte_compressdev/rte_comp.h
@@ -448,8 +448,8 @@ rte_comp_op_alloc(struct rte_mempool *mempool);
  * @param nb_ops
  *   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
 rte_comp_op_bulk_alloc(struct rte_mempool *mempool,
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] compressdev: fix compression api description
  2018-09-28 13:00 [PATCH] compressdev: fix compression api description Tomasz Jozwiak
@ 2018-09-28 13:14 ` Tomasz Jozwiak
  2018-10-01 13:38   ` Trahe, Fiona
  0 siblings, 1 reply; 4+ messages in thread
From: Tomasz Jozwiak @ 2018-09-28 13:14 UTC (permalink / raw)
  To: dev, fiona.trahe, tomaszx.jozwiak, stable, akhil.goyal

This patch fixes description of API functions:
  -  rte_comp_op_raw_bulk_alloc
  -  rte_comp_op_bulk_alloc

Fixes: 96086db5a369 ("compressdev: add operation management")
Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@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 98ad0cf..c663be5 100644
--- a/lib/librte_compressdev/rte_comp.c
+++ b/lib/librte_compressdev/rte_comp.c
@@ -83,8 +83,8 @@ struct rte_comp_op_pool_private {
  * @param nb_ops
  *   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
 rte_comp_op_raw_bulk_alloc(struct rte_mempool *mempool,
diff --git a/lib/librte_compressdev/rte_comp.h b/lib/librte_compressdev/rte_comp.h
index ee9056e..395ce29 100644
--- a/lib/librte_compressdev/rte_comp.h
+++ b/lib/librte_compressdev/rte_comp.h
@@ -448,8 +448,8 @@ rte_comp_op_alloc(struct rte_mempool *mempool);
  * @param nb_ops
  *   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
 rte_comp_op_bulk_alloc(struct rte_mempool *mempool,
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] compressdev: fix compression api description
  2018-09-28 13:14 ` Tomasz Jozwiak
@ 2018-10-01 13:38   ` Trahe, Fiona
  2018-10-01 13:47     ` Akhil Goyal
  0 siblings, 1 reply; 4+ messages in thread
From: Trahe, Fiona @ 2018-10-01 13:38 UTC (permalink / raw)
  To: Jozwiak, TomaszX, dev, stable, akhil.goyal



> -----Original Message-----
> From: Jozwiak, TomaszX
> Sent: Friday, September 28, 2018 2:14 PM
> To: dev@dpdk.org; Trahe, Fiona <fiona.trahe@intel.com>; Jozwiak, TomaszX
> <tomaszx.jozwiak@intel.com>; stable@dpdk.org; akhil.goyal@nxp.com
> Subject: [PATCH] compressdev: fix compression api description
> 
> This patch fixes description of API functions:
>   -  rte_comp_op_raw_bulk_alloc
>   -  rte_comp_op_bulk_alloc
> 
> Fixes: 96086db5a369 ("compressdev: add operation management")
> Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] compressdev: fix compression api description
  2018-10-01 13:38   ` Trahe, Fiona
@ 2018-10-01 13:47     ` Akhil Goyal
  0 siblings, 0 replies; 4+ messages in thread
From: Akhil Goyal @ 2018-10-01 13:47 UTC (permalink / raw)
  To: Trahe, Fiona, Jozwiak, TomaszX, dev, stable



On 10/1/2018 7:08 PM, Trahe, Fiona wrote:
>
>> -----Original Message-----
>> From: Jozwiak, TomaszX
>> Sent: Friday, September 28, 2018 2:14 PM
>> To: dev@dpdk.org; Trahe, Fiona <fiona.trahe@intel.com>; Jozwiak, TomaszX
>> <tomaszx.jozwiak@intel.com>; stable@dpdk.org; akhil.goyal@nxp.com
>> Subject: [PATCH] compressdev: fix compression api description
>>
>> This patch fixes description of API functions:
>>    -  rte_comp_op_raw_bulk_alloc
>>    -  rte_comp_op_bulk_alloc
>>
>> Fixes: 96086db5a369 ("compressdev: add operation management")
>> Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Applied to dpdk-next-crypto

Thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-10-01 13:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-28 13:00 [PATCH] compressdev: fix compression api description Tomasz Jozwiak
2018-09-28 13:14 ` Tomasz Jozwiak
2018-10-01 13:38   ` Trahe, Fiona
2018-10-01 13:47     ` Akhil Goyal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.