28#define RTE_COMP_FF_STATEFUL_COMPRESSION (1ULL << 0)
30#define RTE_COMP_FF_STATEFUL_DECOMPRESSION (1ULL << 1)
32#define RTE_COMP_FF_OOP_SGL_IN_SGL_OUT (1ULL << 2)
36#define RTE_COMP_FF_OOP_SGL_IN_LB_OUT (1ULL << 3)
41#define RTE_COMP_FF_OOP_LB_IN_SGL_OUT (1ULL << 4)
45#define RTE_COMP_FF_ADLER32_CHECKSUM (1ULL << 5)
47#define RTE_COMP_FF_CRC32_CHECKSUM (1ULL << 6)
49#define RTE_COMP_FF_CRC32_ADLER32_CHECKSUM (1ULL << 7)
51#define RTE_COMP_FF_MULTI_PKT_CHECKSUM (1ULL << 8)
53#define RTE_COMP_FF_SHA1_HASH (1ULL << 9)
55#define RTE_COMP_FF_SHA2_SHA256_HASH (1ULL << 10)
57#define RTE_COMP_FF_NONCOMPRESSED_BLOCKS (1ULL << 11)
59#define RTE_COMP_FF_SHAREABLE_PRIV_XFORM (1ULL << 12)
65#define RTE_COMP_FF_HUFFMAN_FIXED (1ULL << 13)
67#define RTE_COMP_FF_HUFFMAN_DYNAMIC (1ULL << 14)
96 RTE_COMP_ALGO_UNSPECIFIED = 0,
111 RTE_COMP_ALGO_LIST_END
122 RTE_COMP_HASH_ALGO_LIST_END
130#define RTE_COMP_LEVEL_PMD_DEFAULT (-1)
132#define RTE_COMP_LEVEL_NONE (0)
134#define RTE_COMP_LEVEL_MIN (1)
136#define RTE_COMP_LEVEL_MAX (9)
431 unsigned int nb_elts,
unsigned int cache_size,
#define __rte_cache_aligned
@ RTE_COMP_HASH_ALGO_NONE
@ RTE_COMP_HASH_ALGO_SHA1
@ RTE_COMP_HASH_ALGO_SHA2_256
@ RTE_COMP_CHECKSUM_ADLER32
@ RTE_COMP_CHECKSUM_CRC32
@ RTE_COMP_CHECKSUM_CRC32_ADLER32
__rte_experimental void rte_comp_op_bulk_free(struct rte_comp_op **ops, uint16_t nb_ops)
@ RTE_COMP_OP_STATUS_NOT_PROCESSED
@ RTE_COMP_OP_STATUS_OUT_OF_SPACE_TERMINATED
@ RTE_COMP_OP_STATUS_INVALID_STATE
@ RTE_COMP_OP_STATUS_INVALID_ARGS
@ RTE_COMP_OP_STATUS_ERROR
@ RTE_COMP_OP_STATUS_SUCCESS
@ RTE_COMP_OP_STATUS_OUT_OF_SPACE_RECOVERABLE
__rte_experimental void rte_comp_op_free(struct rte_comp_op *op)
__rte_experimental const char * rte_comp_get_feature_name(uint64_t flag)
__rte_experimental int rte_comp_op_bulk_alloc(struct rte_mempool *mempool, struct rte_comp_op **ops, uint16_t nb_ops)
__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)
@ RTE_COMP_HUFFMAN_DEFAULT
@ RTE_COMP_HUFFMAN_DYNAMIC
__rte_experimental struct rte_comp_op * rte_comp_op_alloc(struct rte_mempool *mempool)
enum rte_comp_huffman huffman
struct rte_mempool * mempool
enum rte_comp_flush_flag flush_flag
char name[RTE_MEMPOOL_NAMESIZE]