29 typedef void *rte_rawdev_obj_t;
70 struct rte_rawdev_info;
143 rte_rawdev_obj_t queue_conf);
166 rte_rawdev_obj_t queue_conf);
253 #define RTE_RAWDEV_NAME_MAX_LEN (64)
273 const char *driver_name;
277 uint8_t attached : 1;
282 rte_rawdev_obj_t dev_private;
284 char name[RTE_RAWDEV_NAME_MAX_LEN];
288 extern struct rte_rawdev *rte_rawdevs;
291 struct rte_rawdev_info {
293 const char *driver_name;
299 rte_rawdev_obj_t dev_private;
302 struct rte_rawdev_buf {
344 const char *attr_name,
345 uint64_t *attr_value);
363 const char *attr_name,
364 const uint64_t attr_value);
389 struct rte_rawdev_buf **buffers,
391 rte_rawdev_obj_t context);
420 struct rte_rawdev_buf **buffers,
422 rte_rawdev_obj_t context);
425 #define RTE_RAW_DEV_XSTATS_NAME_SIZE 64
484 const unsigned int ids[],
526 const uint32_t ids[],
545 rte_rawdev_obj_t status_info);
563 rte_rawdev_obj_t version_info);
int rte_rawdev_queue_conf_get(uint16_t dev_id, uint16_t queue_id, rte_rawdev_obj_t queue_conf)
int rte_rawdev_socket_id(uint16_t dev_id)
int rte_rawdev_selftest(uint16_t dev_id)
int rte_rawdev_get_attr(uint16_t dev_id, const char *attr_name, uint64_t *attr_value)
int rte_rawdev_firmware_unload(uint16_t dev_id)
int rte_rawdev_dump(uint16_t dev_id, FILE *f)
int rte_rawdev_reset(uint16_t dev_id)
int rte_rawdev_set_attr(uint16_t dev_id, const char *attr_name, const uint64_t attr_value)
int rte_rawdev_firmware_version_get(uint16_t dev_id, rte_rawdev_obj_t version_info)
int rte_rawdev_firmware_status_get(uint16_t dev_id, rte_rawdev_obj_t status_info)
int rte_rawdev_start(uint16_t dev_id)
int rte_rawdev_info_get(uint16_t dev_id, struct rte_rawdev_info *dev_info)
uint8_t rte_rawdev_count(void)
int rte_rawdev_close(uint16_t dev_id)
int rte_rawdev_dequeue_buffers(uint16_t dev_id, struct rte_rawdev_buf **buffers, unsigned int count, rte_rawdev_obj_t context)
int rte_rawdev_xstats_reset(uint16_t dev_id, const uint32_t ids[], uint32_t nb_ids)
int rte_rawdev_configure(uint16_t dev_id, struct rte_rawdev_info *dev_conf)
#define RTE_RAW_DEV_XSTATS_NAME_SIZE
int rte_rawdev_queue_setup(uint16_t dev_id, uint16_t queue_id, rte_rawdev_obj_t queue_conf)
void rte_rawdev_stop(uint16_t dev_id)
int rte_rawdev_xstats_names_get(uint16_t dev_id, struct rte_rawdev_xstats_name *xstats_names, unsigned int size)
uint16_t rte_rawdev_get_dev_id(const char *name)
int rte_rawdev_queue_release(uint16_t dev_id, uint16_t queue_id)
int rte_rawdev_firmware_load(uint16_t dev_id, rte_rawdev_obj_t firmware_image)
int rte_rawdev_xstats_get(uint16_t dev_id, const unsigned int ids[], uint64_t values[], unsigned int n)
#define __rte_cache_aligned
uint16_t rte_rawdev_queue_count(uint16_t dev_id)
uint64_t rte_rawdev_xstats_by_name_get(uint16_t dev_id, const char *name, unsigned int *id)
int rte_rawdev_enqueue_buffers(uint16_t dev_id, struct rte_rawdev_buf **buffers, unsigned int count, rte_rawdev_obj_t context)