34 #ifndef _RTE_CRYPTO_SCHEDULER_OPERATIONS_H
35 #define _RTE_CRYPTO_SCHEDULER_OPERATIONS_H
43 typedef int (*rte_cryptodev_scheduler_slave_attach_t)(
45 typedef int (*rte_cryptodev_scheduler_slave_detach_t)(
48 typedef int (*rte_cryptodev_scheduler_start_t)(
struct rte_cryptodev *dev);
49 typedef int (*rte_cryptodev_scheduler_stop_t)(
struct rte_cryptodev *dev);
51 typedef int (*rte_cryptodev_scheduler_config_queue_pair)(
54 typedef int (*rte_cryptodev_scheduler_create_private_ctx)(
57 typedef int (*rte_cryptodev_scheduler_config_option_set)(
62 typedef int (*rte_cryptodev_scheduler_config_option_get)(
67 struct rte_cryptodev_scheduler_ops {
68 rte_cryptodev_scheduler_slave_attach_t slave_attach;
69 rte_cryptodev_scheduler_slave_attach_t slave_detach;
71 rte_cryptodev_scheduler_start_t scheduler_start;
72 rte_cryptodev_scheduler_stop_t scheduler_stop;
74 rte_cryptodev_scheduler_config_queue_pair config_queue_pair;
76 rte_cryptodev_scheduler_create_private_ctx create_private_ctx;
78 rte_cryptodev_scheduler_config_option_set option_set;
79 rte_cryptodev_scheduler_config_option_get option_get;