]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/spdk/dpdk/lib/librte_bbdev/rte_bbdev_op.h
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / dpdk / lib / librte_bbdev / rte_bbdev_op.h
index 83f62c2dc2f2ea74d0b4f7ebae7d4b823dc953f2..6be53f567bb19715a79b3ba9ca28cc80892f62ed 100644 (file)
@@ -216,6 +216,8 @@ struct rte_bbdev_op_dec_tb_params {
         * operation when r >= cab
         */
        uint32_t eb;
+       /**< The index of the first CB in the inbound mbuf data, default is 0 */
+       uint8_t r;
 };
 
 /**< Operation structure for Turbo decode.
@@ -459,7 +461,7 @@ struct rte_bbdev_op_pool_private {
  *   Operation type as string or NULL if op_type is invalid
  *
  */
-const char*
+const char* __rte_experimental
 rte_bbdev_op_type_str(enum rte_bbdev_op_type op_type);
 
 /**
@@ -482,7 +484,7 @@ rte_bbdev_op_type_str(enum rte_bbdev_op_type op_type);
  *   - Pointer to a mempool on success,
  *   - NULL pointer on failure.
  */
-struct rte_mempool *
+struct rte_mempool * __rte_experimental
 rte_bbdev_op_pool_create(const char *name, enum rte_bbdev_op_type type,
                unsigned int num_elements, unsigned int cache_size,
                int socket_id);
@@ -501,7 +503,7 @@ rte_bbdev_op_pool_create(const char *name, enum rte_bbdev_op_type type,
  *   - 0 on success
  *   - EINVAL if invalid mempool is provided
  */
-static inline int
+static inline int __rte_experimental
 rte_bbdev_enc_op_alloc_bulk(struct rte_mempool *mempool,
                struct rte_bbdev_enc_op **ops, uint16_t num_ops)
 {
@@ -536,7 +538,7 @@ rte_bbdev_enc_op_alloc_bulk(struct rte_mempool *mempool,
  *   - 0 on success
  *   - EINVAL if invalid mempool is provided
  */
-static inline int
+static inline int __rte_experimental
 rte_bbdev_dec_op_alloc_bulk(struct rte_mempool *mempool,
                struct rte_bbdev_dec_op **ops, uint16_t num_ops)
 {
@@ -567,7 +569,7 @@ rte_bbdev_dec_op_alloc_bulk(struct rte_mempool *mempool,
  * @param num_ops
  *   Number of structures
  */
-static inline void
+static inline void __rte_experimental
 rte_bbdev_dec_op_free_bulk(struct rte_bbdev_dec_op **ops, unsigned int num_ops)
 {
        if (num_ops > 0)
@@ -584,7 +586,7 @@ rte_bbdev_dec_op_free_bulk(struct rte_bbdev_dec_op **ops, unsigned int num_ops)
  * @param num_ops
  *   Number of structures
  */
-static inline void
+static inline void __rte_experimental
 rte_bbdev_enc_op_free_bulk(struct rte_bbdev_enc_op **ops, unsigned int num_ops)
 {
        if (num_ops > 0)