DPDK  19.02.0
Data Fields
rte_rawdev_ops Struct Reference

#include <rte_rawdev_pmd.h>

Data Fields

rawdev_info_get_t dev_info_get
rawdev_configure_t dev_configure
rawdev_start_t dev_start
rawdev_stop_t dev_stop
rawdev_close_t dev_close
rawdev_reset_t dev_reset
rawdev_queue_conf_get_t queue_def_conf
rawdev_queue_setup_t queue_setup
rawdev_queue_release_t queue_release
rawdev_queue_count_t queue_count
rawdev_enqueue_bufs_t enqueue_bufs
rawdev_dequeue_bufs_t dequeue_bufs
rawdev_dump_t dump
rawdev_get_attr_t attr_get
rawdev_set_attr_t attr_set
rawdev_xstats_get_t xstats_get
rawdev_xstats_get_names_t xstats_get_names
rawdev_xstats_get_by_name_t xstats_get_by_name
rawdev_xstats_reset_t xstats_reset
rawdev_firmware_status_get_t firmware_status_get
rawdev_firmware_version_get_t firmware_version_get
rawdev_firmware_load_t firmware_load
rawdev_firmware_unload_t firmware_unload

Detailed Description

Rawdevice operations function pointer table

Definition at line 505 of file rte_rawdev_pmd.h.

Field Documentation

rawdev_info_get_t dev_info_get

< Get device info. Configure device.

Definition at line 508 of file rte_rawdev_pmd.h.

rawdev_configure_t dev_configure

Start device.

Definition at line 510 of file rte_rawdev_pmd.h.

rawdev_start_t dev_start

Stop device.

Definition at line 512 of file rte_rawdev_pmd.h.

rawdev_stop_t dev_stop

Close device.

Definition at line 514 of file rte_rawdev_pmd.h.

rawdev_close_t dev_close

Reset device.

Definition at line 516 of file rte_rawdev_pmd.h.

rawdev_reset_t dev_reset

Get raw queue configuration.

Definition at line 519 of file rte_rawdev_pmd.h.

rawdev_queue_conf_get_t queue_def_conf

Set up an raw queue.

Definition at line 521 of file rte_rawdev_pmd.h.

rawdev_queue_setup_t queue_setup

Release an raw queue.

Definition at line 523 of file rte_rawdev_pmd.h.

rawdev_queue_release_t queue_release

Get the number of queues attached to the device

Definition at line 525 of file rte_rawdev_pmd.h.

rawdev_queue_count_t queue_count

Enqueue an array of raw buffers to device.

Definition at line 528 of file rte_rawdev_pmd.h.

rawdev_enqueue_bufs_t enqueue_bufs

Dequeue an array of raw buffers from device.

Definition at line 530 of file rte_rawdev_pmd.h.

rawdev_dequeue_bufs_t dequeue_bufs

TODO: Callback based enqueue and dequeue support

Definition at line 532 of file rte_rawdev_pmd.h.

Get an attribute managed by the implementation

Definition at line 537 of file rte_rawdev_pmd.h.

Set an attribute managed by the implementation

Definition at line 539 of file rte_rawdev_pmd.h.

Get extended device statistics.

Definition at line 542 of file rte_rawdev_pmd.h.

rawdev_xstats_get_t xstats_get

Get names of extended stats.

Definition at line 544 of file rte_rawdev_pmd.h.

rawdev_xstats_get_names_t xstats_get_names

Get one value by name.

Definition at line 546 of file rte_rawdev_pmd.h.

rawdev_xstats_get_by_name_t xstats_get_by_name

Reset the statistics values in xstats.

Definition at line 548 of file rte_rawdev_pmd.h.

rawdev_xstats_reset_t xstats_reset

Obtainer firmware status

Definition at line 551 of file rte_rawdev_pmd.h.

rawdev_firmware_status_get_t firmware_status_get

Obtain firmware version information

Definition at line 553 of file rte_rawdev_pmd.h.

rawdev_firmware_version_get_t firmware_version_get

Load firmware

Definition at line 555 of file rte_rawdev_pmd.h.

rawdev_firmware_load_t firmware_load

Unload firmware

Definition at line 557 of file rte_rawdev_pmd.h.

rawdev_firmware_unload_t firmware_unload

Device selftest function

Definition at line 560 of file rte_rawdev_pmd.h.


The documentation for this struct was generated from the following file: