5 #ifndef _RTE_BBDEV_PMD_H_
6 #define _RTE_BBDEV_PMD_H_
30 #define RTE_BBDEV_DEFAULT_MAX_NB_QUEUES RTE_MAX_LCORE
33 #define RTE_BBDEV_QUEUE_SIZE_LIMIT 16384
46 struct rte_bbdev * __rte_experimental
47 rte_bbdev_allocate(
const char *name);
58 int __rte_experimental
59 rte_bbdev_release(
struct rte_bbdev *bbdev);
72 struct rte_bbdev * __rte_experimental
83 uint16_t num_queues,
int socket_id);
86 typedef int (*rte_bbdev_intr_enable_t)(
struct rte_bbdev *dev);
89 typedef int (*rte_bbdev_queue_setup_t)(
struct rte_bbdev *dev,
96 typedef int (*rte_bbdev_queue_release_t)(
struct rte_bbdev *dev,
100 typedef int (*rte_bbdev_start_t)(
struct rte_bbdev *dev);
103 typedef void (*rte_bbdev_stop_t)(
struct rte_bbdev *dev);
106 typedef int (*rte_bbdev_close_t)(
struct rte_bbdev *dev);
109 typedef int (*rte_bbdev_queue_start_t)(
struct rte_bbdev *dev,
113 typedef int (*rte_bbdev_queue_stop_t)(
struct rte_bbdev *dev, uint16_t queue_id);
116 typedef void (*rte_bbdev_stats_get_t)(
struct rte_bbdev *dev,
120 typedef void (*rte_bbdev_stats_reset_t)(
struct rte_bbdev *dev);
123 typedef void (*rte_bbdev_info_get_t)(
struct rte_bbdev *dev,
130 typedef int (*rte_bbdev_queue_intr_enable_t)(
struct rte_bbdev *dev,
137 typedef int (*rte_bbdev_queue_intr_disable_t)(
struct rte_bbdev *dev,
151 rte_bbdev_start_t
start;
153 rte_bbdev_stop_t
stop;
155 rte_bbdev_close_t
close;
158 rte_bbdev_info_get_t info_get;
171 rte_bbdev_queue_stop_t queue_stop;
190 void __rte_experimental