X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_compressdev%2Frte_comp.c;h=3b0e46f96ef076df8a7c7e2ab0df660568868401;hb=095e67601febb8bedb1c7b458b52d2c53ec95f23;hp=06e3d442ae06bd0703f91e9486d65f53173eff9d;hpb=5eb0d610a5bf1cdc51e5159518cce3a6e31cbbf4;p=dpdk.git diff --git a/lib/librte_compressdev/rte_comp.c b/lib/librte_compressdev/rte_comp.c index 06e3d442ae..3b0e46f96e 100644 --- a/lib/librte_compressdev/rte_comp.c +++ b/lib/librte_compressdev/rte_comp.c @@ -6,7 +6,7 @@ #include "rte_compressdev.h" #include "rte_compressdev_internal.h" -const char * __rte_experimental +const char * rte_comp_get_feature_name(uint64_t flag) { switch (flag) { @@ -112,7 +112,7 @@ rte_comp_op_init(struct rte_mempool *mempool, op->mempool = mempool; } -struct rte_mempool * __rte_experimental +struct rte_mempool * rte_comp_op_pool_create(const char *name, unsigned int nb_elts, unsigned int cache_size, uint16_t user_size, int socket_id) @@ -167,7 +167,7 @@ rte_comp_op_pool_create(const char *name, return mp; } -struct rte_comp_op * __rte_experimental +struct rte_comp_op * rte_comp_op_alloc(struct rte_mempool *mempool) { struct rte_comp_op *op = NULL; @@ -182,7 +182,7 @@ rte_comp_op_alloc(struct rte_mempool *mempool) return op; } -int __rte_experimental +int rte_comp_op_bulk_alloc(struct rte_mempool *mempool, struct rte_comp_op **ops, uint16_t nb_ops) { @@ -207,14 +207,14 @@ rte_comp_op_bulk_alloc(struct rte_mempool *mempool, * @param op * Compress operation */ -void __rte_experimental +void rte_comp_op_free(struct rte_comp_op *op) { if (op != NULL && op->mempool != NULL) rte_mempool_put(op->mempool, op); } -void __rte_experimental +void rte_comp_op_bulk_free(struct rte_comp_op **ops, uint16_t nb_ops) { uint16_t i;