5 #ifndef _RTE_COMPRESSDEV_H_
6 #define _RTE_COMPRESSDEV_H_
54 #define RTE_COMP_END_OF_CAPABILITIES_LIST() \
55 { RTE_COMP_ALGO_UNSPECIFIED }
58 rte_compressdev_capability_get(uint8_t dev_id,
68 #define RTE_COMPDEV_FF_HW_ACCELERATED (1ULL << 0)
70 #define RTE_COMPDEV_FF_CPU_SSE (1ULL << 1)
72 #define RTE_COMPDEV_FF_CPU_AVX (1ULL << 2)
74 #define RTE_COMPDEV_FF_CPU_AVX2 (1ULL << 3)
76 #define RTE_COMPDEV_FF_CPU_AVX512 (1ULL << 4)
78 #define RTE_COMPDEV_FF_CPU_NEON (1ULL << 5)
90 const char * __rte_experimental
128 int __rte_experimental
140 const char * __rte_experimental
150 uint8_t __rte_experimental
167 uint8_t __rte_experimental
181 int __rte_experimental
182 rte_compressdev_socket_id(uint8_t dev_id);
211 int __rte_experimental
229 int __rte_experimental
239 void __rte_experimental
256 int __rte_experimental
282 int __rte_experimental
284 uint32_t max_inflight_ops,
int socket_id);
294 uint16_t __rte_experimental
311 int __rte_experimental
320 void __rte_experimental
337 void __rte_experimental
394 uint16_t __rte_experimental
448 uint16_t __rte_experimental
476 int __rte_experimental
497 int __rte_experimental
523 int __rte_experimental
526 void **private_xform);
544 int __rte_experimental
uint64_t dequeue_err_count
int __rte_experimental rte_compressdev_queue_pair_setup(uint8_t dev_id, uint16_t queue_pair_id, uint32_t max_inflight_ops, int socket_id)
int __rte_experimental rte_compressdev_private_xform_create(uint8_t dev_id, const struct rte_comp_xform *xform, void **private_xform)
int __rte_experimental rte_compressdev_get_dev_id(const char *name)
uint8_t __rte_experimental rte_compressdev_count(void)
const char *__rte_experimental rte_compressdev_get_feature_name(uint64_t flag)
int __rte_experimental rte_compressdev_close(uint8_t dev_id)
void __rte_experimental rte_compressdev_stop(uint8_t dev_id)
const char *__rte_experimental rte_compressdev_name_get(uint8_t dev_id)
uint16_t max_nb_priv_xforms
uint64_t enqueue_err_count
int __rte_experimental rte_compressdev_configure(uint8_t dev_id, struct rte_compressdev_config *config)
uint16_t __rte_experimental rte_compressdev_enqueue_burst(uint8_t dev_id, uint16_t qp_id, struct rte_comp_op **ops, uint16_t nb_ops)
uint16_t max_nb_queue_pairs
int __rte_experimental rte_compressdev_stream_free(uint8_t dev_id, void *stream)
int __rte_experimental rte_compressdev_stream_create(uint8_t dev_id, const struct rte_comp_xform *xform, void **stream)
uint16_t __rte_experimental rte_compressdev_dequeue_burst(uint8_t dev_id, uint16_t qp_id, struct rte_comp_op **ops, uint16_t nb_ops)
uint64_t comp_feature_flags
uint16_t __rte_experimental rte_compressdev_queue_pair_count(uint8_t dev_id)
int __rte_experimental rte_compressdev_private_xform_free(uint8_t dev_id, void *private_xform)
int __rte_experimental rte_compressdev_stats_get(uint8_t dev_id, struct rte_compressdev_stats *stats)
int __rte_experimental rte_compressdev_start(uint8_t dev_id)
const struct rte_compressdev_capabilities * capabilities
struct rte_param_log2_range window_size
void __rte_experimental rte_compressdev_info_get(uint8_t dev_id, struct rte_compressdev_info *dev_info)
uint8_t __rte_experimental rte_compressdev_devices_get(const char *driver_name, uint8_t *devices, uint8_t nb_devices)
void __rte_experimental rte_compressdev_stats_reset(uint8_t dev_id)