Scroll to navigation

rte_rawdev_ops(3) DPDK rte_rawdev_ops(3)

NAME

rte_rawdev_ops

SYNOPSIS

#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 513 of file rte_rawdev_pmd.h.

Field Documentation

rawdev_info_get_t dev_info_get

< Get device info. Configure device.

Definition at line 515 of file rte_rawdev_pmd.h.

rawdev_configure_t dev_configure

Start device.

Definition at line 517 of file rte_rawdev_pmd.h.

rawdev_start_t dev_start

Stop device.

Definition at line 519 of file rte_rawdev_pmd.h.

rawdev_stop_t dev_stop

Close device.

Definition at line 521 of file rte_rawdev_pmd.h.

rawdev_close_t dev_close

Reset device.

Definition at line 523 of file rte_rawdev_pmd.h.

rawdev_reset_t dev_reset

Get raw queue configuration.

Definition at line 525 of file rte_rawdev_pmd.h.

rawdev_queue_conf_get_t queue_def_conf

Set up an raw queue.

Definition at line 528 of file rte_rawdev_pmd.h.

rawdev_queue_setup_t queue_setup

Release an raw queue.

Definition at line 530 of file rte_rawdev_pmd.h.

rawdev_queue_release_t queue_release

Get the number of queues attached to the device

Definition at line 532 of file rte_rawdev_pmd.h.

rawdev_queue_count_t queue_count

Enqueue an array of raw buffers to device.

Definition at line 534 of file rte_rawdev_pmd.h.

rawdev_enqueue_bufs_t enqueue_bufs

Dequeue an array of raw buffers from device.

Definition at line 537 of file rte_rawdev_pmd.h.

rawdev_dequeue_bufs_t dequeue_bufs

TODO: Callback based enqueue and dequeue support

Definition at line 540 of file rte_rawdev_pmd.h.

rawdev_dump_t dump

Get an attribute managed by the implementation

Definition at line 543 of file rte_rawdev_pmd.h.

rawdev_get_attr_t attr_get

Set an attribute managed by the implementation

Definition at line 546 of file rte_rawdev_pmd.h.

rawdev_set_attr_t attr_set

Get extended device statistics.

Definition at line 548 of file rte_rawdev_pmd.h.

rawdev_xstats_get_t xstats_get

Get names of extended stats.

Definition at line 551 of file rte_rawdev_pmd.h.

rawdev_xstats_get_names_t xstats_get_names

Get one value by name.

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

rawdev_xstats_reset_t xstats_reset

Obtain firmware status

Definition at line 557 of file rte_rawdev_pmd.h.

rawdev_firmware_status_get_t firmware_status_get

Obtain firmware version information

Definition at line 560 of file rte_rawdev_pmd.h.

rawdev_firmware_version_get_t firmware_version_get

Load firmware

Definition at line 562 of file rte_rawdev_pmd.h.

rawdev_firmware_load_t firmware_load

Unload firmware

Definition at line 564 of file rte_rawdev_pmd.h.

rawdev_firmware_unload_t firmware_unload

Device selftest function

Definition at line 566 of file rte_rawdev_pmd.h.

Author

Generated automatically by Doxygen for DPDK from the source code.

Fri Dec 15 2023 Version 23.11.0