34 #ifndef _RTE_CRYPTO_SCHEDULER_H
35 #define _RTE_CRYPTO_SCHEDULER_H
50 #include "rte_cryptodev_scheduler_operations.h"
57 #ifndef RTE_CRYPTODEV_SCHEDULER_MAX_NB_SLAVES
58 #define RTE_CRYPTODEV_SCHEDULER_MAX_NB_SLAVES (8)
62 #define SCHEDULER_MODE_NAME_ROUND_ROBIN round-robin
64 #define SCHEDULER_MODE_NAME_PKT_SIZE_DISTR packet-size-distr
66 #define SCHEDULER_MODE_NAME_FAIL_OVER fail-over
72 CDEV_SCHED_MODE_NOT_SET = 0,
85 #define RTE_CRYPTODEV_SCHEDULER_NAME_MAX_LEN (64)
86 #define RTE_CRYPTODEV_SCHEDULER_DESC_MAX_LEN (256)
92 CDEV_SCHED_OPTION_NOT_SET = 0,
93 CDEV_SCHED_OPTION_THRESHOLD,
95 CDEV_SCHED_OPTION_COUNT
238 uint32_t enable_reorder);
309 typedef uint16_t (*rte_cryptodev_scheduler_burst_enqueue_t)(
void *qp_ctx,
312 typedef uint16_t (*rte_cryptodev_scheduler_burst_dequeue_t)(
void *qp_ctx,
322 struct rte_cryptodev_scheduler_ops *
ops;