compressdev: fix compression API description

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 <tomaszx.jozwiak@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
This commit is contained in:
Tomasz Jozwiak 2018-09-28 15:14:28 +02:00 committed by Akhil Goyal
parent a05a450f42
commit f1597231ac
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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,