DPDK  19.08.2
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 507 of file rte_rawdev_pmd.h.

rawdev_configure_t dev_configure

Start device.

Definition at line 509 of file rte_rawdev_pmd.h.

rawdev_start_t dev_start

Stop device.

Definition at line 511 of file rte_rawdev_pmd.h.

rawdev_stop_t dev_stop

Close device.

Definition at line 513 of file rte_rawdev_pmd.h.

rawdev_close_t dev_close

Reset device.

Definition at line 515 of file rte_rawdev_pmd.h.

rawdev_reset_t dev_reset

Get raw queue configuration.

Definition at line 517 of file rte_rawdev_pmd.h.

rawdev_queue_conf_get_t queue_def_conf

Set up an raw queue.

Definition at line 520 of file rte_rawdev_pmd.h.

rawdev_queue_setup_t queue_setup

Release an raw queue.

Definition at line 522 of file rte_rawdev_pmd.h.

rawdev_queue_release_t queue_release

Get the number of queues attached to the device

Definition at line 524 of file rte_rawdev_pmd.h.

rawdev_queue_count_t queue_count

Enqueue an array of raw buffers to device.

Definition at line 526 of file rte_rawdev_pmd.h.

rawdev_enqueue_bufs_t enqueue_bufs

Dequeue an array of raw buffers from device.

Definition at line 529 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 535 of file rte_rawdev_pmd.h.

Set an attribute managed by the implementation

Definition at line 538 of file rte_rawdev_pmd.h.

Get extended device statistics.

Definition at line 540 of file rte_rawdev_pmd.h.

rawdev_xstats_get_t xstats_get

Get names of extended stats.

Definition at line 543 of file rte_rawdev_pmd.h.

rawdev_xstats_get_names_t xstats_get_names

Get one value by name.

Definition at line 545 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 547 of file rte_rawdev_pmd.h.

rawdev_xstats_reset_t xstats_reset

Obtain firmware status

Definition at line 549 of file rte_rawdev_pmd.h.

rawdev_firmware_status_get_t firmware_status_get

Obtain firmware version information

Definition at line 552 of file rte_rawdev_pmd.h.

rawdev_firmware_version_get_t firmware_version_get

Load firmware

Definition at line 554 of file rte_rawdev_pmd.h.

rawdev_firmware_load_t firmware_load

Unload firmware

Definition at line 556 of file rte_rawdev_pmd.h.

rawdev_firmware_unload_t firmware_unload

Device selftest function

Definition at line 558 of file rte_rawdev_pmd.h.


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