summaryrefslogtreecommitdiff
path: root/lib/librte_bbdev
diff options
context:
space:
mode:
authorAmr Mokhtar <amr.mokhtar@intel.com>2018-12-19 10:00:27 +0000
committerThomas Monjalon <thomas@monjalon.net>2018-12-19 19:36:53 +0100
commit56b878b0ba72cdefae979ff13f019ec76e890344 (patch)
tree18776b34eedcaf804475f34f858586b6b775ab4b /lib/librte_bbdev
parent0bf1e98f104384c124c8bd0a94a72c06d608f213 (diff)
downloaddpdk-56b878b0ba72cdefae979ff13f019ec76e890344.zip
dpdk-56b878b0ba72cdefae979ff13f019ec76e890344.tar.gz
dpdk-56b878b0ba72cdefae979ff13f019ec76e890344.tar.xz
bbdev: add missing experimental tags and map entries
- add missing APIs to map file - add experimental tag to all bbdev APIs Signed-off-by: Amr Mokhtar <amr.mokhtar@intel.com>
Diffstat (limited to 'lib/librte_bbdev')
-rw-r--r--lib/librte_bbdev/rte_bbdev.h8
-rw-r--r--lib/librte_bbdev/rte_bbdev_op.h12
-rw-r--r--lib/librte_bbdev/rte_bbdev_version.map4
3 files changed, 14 insertions, 10 deletions
diff --git a/lib/librte_bbdev/rte_bbdev.h b/lib/librte_bbdev/rte_bbdev.h
index da8cf07..bec1ef6 100644
--- a/lib/librte_bbdev/rte_bbdev.h
+++ b/lib/librte_bbdev/rte_bbdev.h
@@ -466,7 +466,7 @@ extern struct rte_bbdev rte_bbdev_devices[];
* The number of operations actually enqueued (this is the number of processed
* entries in the @p ops array).
*/
-static inline uint16_t
+static inline uint16_t __rte_experimental
rte_bbdev_enqueue_enc_ops(uint16_t dev_id, uint16_t queue_id,
struct rte_bbdev_enc_op **ops, uint16_t num_ops)
{
@@ -496,7 +496,7 @@ rte_bbdev_enqueue_enc_ops(uint16_t dev_id, uint16_t queue_id,
* The number of operations actually enqueued (this is the number of processed
* entries in the @p ops array).
*/
-static inline uint16_t
+static inline uint16_t __rte_experimental
rte_bbdev_enqueue_dec_ops(uint16_t dev_id, uint16_t queue_id,
struct rte_bbdev_dec_op **ops, uint16_t num_ops)
{
@@ -526,7 +526,7 @@ rte_bbdev_enqueue_dec_ops(uint16_t dev_id, uint16_t queue_id,
* The number of operations actually dequeued (this is the number of entries
* copied into the @p ops array).
*/
-static inline uint16_t
+static inline uint16_t __rte_experimental
rte_bbdev_dequeue_enc_ops(uint16_t dev_id, uint16_t queue_id,
struct rte_bbdev_enc_op **ops, uint16_t num_ops)
{
@@ -557,7 +557,7 @@ rte_bbdev_dequeue_enc_ops(uint16_t dev_id, uint16_t queue_id,
* copied into the @p ops array).
*/
-static inline uint16_t
+static inline uint16_t __rte_experimental
rte_bbdev_dequeue_dec_ops(uint16_t dev_id, uint16_t queue_id,
struct rte_bbdev_dec_op **ops, uint16_t num_ops)
{
diff --git a/lib/librte_bbdev/rte_bbdev_op.h b/lib/librte_bbdev/rte_bbdev_op.h
index 962e2ed..6be53f5 100644
--- a/lib/librte_bbdev/rte_bbdev_op.h
+++ b/lib/librte_bbdev/rte_bbdev_op.h
@@ -461,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);
/**
@@ -484,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);
@@ -503,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)
{
@@ -538,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)
{
@@ -569,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)
@@ -586,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)
diff --git a/lib/librte_bbdev/rte_bbdev_version.map b/lib/librte_bbdev/rte_bbdev_version.map
index d3b81ea..3624eb1 100644
--- a/lib/librte_bbdev/rte_bbdev_version.map
+++ b/lib/librte_bbdev/rte_bbdev_version.map
@@ -6,9 +6,13 @@ EXPERIMENTAL {
rte_bbdev_callback_unregister;
rte_bbdev_close;
rte_bbdev_count;
+ rte_bbdev_dec_op_alloc_bulk;
+ rte_bbdev_dec_op_free_bulk;
rte_bbdev_dequeue_dec_ops;
rte_bbdev_dequeue_enc_ops;
rte_bbdev_devices;
+ rte_bbdev_enc_op_alloc_bulk;
+ rte_bbdev_enc_op_free_bulk;
rte_bbdev_enqueue_dec_ops;
rte_bbdev_enqueue_enc_ops;
rte_bbdev_find_next;