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 RTE_CRYPTODEV_SCHEDULER_MAX_NB_WORKER_CORES (64)
65 #define SCHEDULER_MODE_NAME_ROUND_ROBIN round-robin
67 #define SCHEDULER_MODE_NAME_PKT_SIZE_DISTR packet-size-distr
69 #define SCHEDULER_MODE_NAME_FAIL_OVER fail-over
71 #define SCHEDULER_MODE_NAME_MULTI_CORE multi-core
77 CDEV_SCHED_MODE_NOT_SET = 0,
92 #define RTE_CRYPTODEV_SCHEDULER_NAME_MAX_LEN (64)
93 #define RTE_CRYPTODEV_SCHEDULER_DESC_MAX_LEN (256)
99 CDEV_SCHED_OPTION_NOT_SET = 0,
100 CDEV_SCHED_OPTION_THRESHOLD,
102 CDEV_SCHED_OPTION_COUNT
213 uint32_t enable_reorder);
284 typedef uint16_t (*rte_cryptodev_scheduler_burst_enqueue_t)(
void *qp_ctx,
287 typedef uint16_t (*rte_cryptodev_scheduler_burst_dequeue_t)(
void *qp_ctx,
297 struct rte_cryptodev_scheduler_ops *
ops;