5 #ifndef _RTE_CRYPTO_SCHEDULER_OPERATIONS_H
6 #define _RTE_CRYPTO_SCHEDULER_OPERATIONS_H
14 typedef int (*rte_cryptodev_scheduler_slave_attach_t)(
16 typedef int (*rte_cryptodev_scheduler_slave_detach_t)(
19 typedef int (*rte_cryptodev_scheduler_start_t)(
struct rte_cryptodev *dev);
20 typedef int (*rte_cryptodev_scheduler_stop_t)(
struct rte_cryptodev *dev);
22 typedef int (*rte_cryptodev_scheduler_config_queue_pair)(
25 typedef int (*rte_cryptodev_scheduler_create_private_ctx)(
28 typedef int (*rte_cryptodev_scheduler_config_option_set)(
33 typedef int (*rte_cryptodev_scheduler_config_option_get)(
38 struct rte_cryptodev_scheduler_ops {
39 rte_cryptodev_scheduler_slave_attach_t slave_attach;
40 rte_cryptodev_scheduler_slave_attach_t slave_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;