5#ifndef _RTE_CRYPTO_SCHEDULER_OPERATIONS_H
6#define _RTE_CRYPTO_SCHEDULER_OPERATIONS_H
14typedef int (*rte_cryptodev_scheduler_worker_attach_t)(
15 struct rte_cryptodev *dev, uint8_t worker_id);
16typedef int (*rte_cryptodev_scheduler_worker_detach_t)(
17 struct rte_cryptodev *dev, uint8_t worker_id);
19typedef int (*rte_cryptodev_scheduler_start_t)(
struct rte_cryptodev *dev);
20typedef int (*rte_cryptodev_scheduler_stop_t)(
struct rte_cryptodev *dev);
22typedef int (*rte_cryptodev_scheduler_config_queue_pair)(
23 struct rte_cryptodev *dev, uint16_t qp_id);
25typedef int (*rte_cryptodev_scheduler_create_private_ctx)(
26 struct rte_cryptodev *dev);
28typedef int (*rte_cryptodev_scheduler_config_option_set)(
29 struct rte_cryptodev *dev,
33typedef int (*rte_cryptodev_scheduler_config_option_get)(
34 struct rte_cryptodev *dev,
38struct rte_cryptodev_scheduler_ops {
39 rte_cryptodev_scheduler_worker_attach_t worker_attach;
40 rte_cryptodev_scheduler_worker_attach_t worker_detach;
42 rte_cryptodev_scheduler_start_t scheduler_start;
43 rte_cryptodev_scheduler_stop_t scheduler_stop;
45 rte_cryptodev_scheduler_config_queue_pair config_queue_pair;
47 rte_cryptodev_scheduler_create_private_ctx create_private_ctx;
49 rte_cryptodev_scheduler_config_option_set option_set;
50 rte_cryptodev_scheduler_config_option_get option_get;