DPDK  21.11.8
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 516 of file rte_rawdev_pmd.h.

Field Documentation

◆ dev_info_get

rawdev_info_get_t dev_info_get

< Get device info. Configure device.

Definition at line 518 of file rte_rawdev_pmd.h.

◆ dev_configure

rawdev_configure_t dev_configure

Start device.

Definition at line 520 of file rte_rawdev_pmd.h.

◆ dev_start

rawdev_start_t dev_start

Stop device.

Definition at line 522 of file rte_rawdev_pmd.h.

◆ dev_stop

rawdev_stop_t dev_stop

Close device.

Definition at line 524 of file rte_rawdev_pmd.h.

◆ dev_close

rawdev_close_t dev_close

Reset device.

Definition at line 526 of file rte_rawdev_pmd.h.

◆ dev_reset

rawdev_reset_t dev_reset

Get raw queue configuration.

Definition at line 528 of file rte_rawdev_pmd.h.

◆ queue_def_conf

rawdev_queue_conf_get_t queue_def_conf

Set up an raw queue.

Definition at line 531 of file rte_rawdev_pmd.h.

◆ queue_setup

rawdev_queue_setup_t queue_setup

Release an raw queue.

Definition at line 533 of file rte_rawdev_pmd.h.

◆ queue_release

rawdev_queue_release_t queue_release

Get the number of queues attached to the device

Definition at line 535 of file rte_rawdev_pmd.h.

◆ queue_count

rawdev_queue_count_t queue_count

Enqueue an array of raw buffers to device.

Definition at line 537 of file rte_rawdev_pmd.h.

◆ enqueue_bufs

rawdev_enqueue_bufs_t enqueue_bufs

Dequeue an array of raw buffers from device.

Definition at line 540 of file rte_rawdev_pmd.h.

◆ dequeue_bufs

rawdev_dequeue_bufs_t dequeue_bufs

TODO: Callback based enqueue and dequeue support

Definition at line 543 of file rte_rawdev_pmd.h.

◆ dump

Get an attribute managed by the implementation

Definition at line 546 of file rte_rawdev_pmd.h.

◆ attr_get

Set an attribute managed by the implementation

Definition at line 549 of file rte_rawdev_pmd.h.

◆ attr_set

Get extended device statistics.

Definition at line 551 of file rte_rawdev_pmd.h.

◆ xstats_get

rawdev_xstats_get_t xstats_get

Get names of extended stats.

Definition at line 554 of file rte_rawdev_pmd.h.

◆ xstats_get_names

rawdev_xstats_get_names_t xstats_get_names

Get one value by name.

Definition at line 556 of file rte_rawdev_pmd.h.

◆ xstats_get_by_name

rawdev_xstats_get_by_name_t xstats_get_by_name

Reset the statistics values in xstats.

Definition at line 558 of file rte_rawdev_pmd.h.

◆ xstats_reset

rawdev_xstats_reset_t xstats_reset

Obtain firmware status

Definition at line 560 of file rte_rawdev_pmd.h.

◆ firmware_status_get

rawdev_firmware_status_get_t firmware_status_get

Obtain firmware version information

Definition at line 563 of file rte_rawdev_pmd.h.

◆ firmware_version_get

rawdev_firmware_version_get_t firmware_version_get

Load firmware

Definition at line 565 of file rte_rawdev_pmd.h.

◆ firmware_load

rawdev_firmware_load_t firmware_load

Unload firmware

Definition at line 567 of file rte_rawdev_pmd.h.

◆ firmware_unload

rawdev_firmware_unload_t firmware_unload

Device selftest function

Definition at line 569 of file rte_rawdev_pmd.h.


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