rte_dma_op(3)
π NAME π
rte_dma_op β okay bestie, this is the rte_dma_op(3) page, and it's giving main character energy for an event-based DMA op struct β it ate. π
β¨
β¨ SYNOPSIS β¨
#include <rte_dmadev.h>
π Data Fields π
uint64_t flagsstruct rte_mempool * op_mpenum rte_dma_status_code statusuint32_t rsvduint64_t impl_opaque [2]uint64_t user_metauint64_t event_metaint16_t dma_dev_iduint16_t vchanuint16_t nb_srcuint16_t nb_dststruct rte_dma_sge src_dst_seg []
πΈ Detailed Description πΈ
This is a structure used to hold an event based DMA operation entry. Like, all the information required for a DMA transfer shall be populated in an instance of struct rte_dma_op, fr fr. Not me being obsessed with a struct, but here we are. π«Άπ
Definition at line 1057 of file rte_dmadev.h.
π¦ Field Documentation π¦
uint64_t flags
Flags related to the operation.
See also: RTE_DMA_OP_FLAG_* β iykyk. π₯
Definition at line 1061 of file rte_dmadev.h.
struct rte_mempool* op_mp
Mempool from which op is allocated. That's the vibe. π
Definition at line 1063 of file rte_dmadev.h.
enum rte_dma_status_code status
Status code for this operation. Lowkey important. π
Definition at line 1065 of file rte_dmadev.h.
uint32_t rsvd
Reserved for future use. Ngl, leave this one alone for now. π
Definition at line 1067 of file rte_dmadev.h.
uint64_t impl_opaque[2]
Implementation-specific opaque data. A DMA device implementation uses this field to hold implementation-specific values to share between dequeue and enqueue operations. The application should not modify this field. π¨ This is not a drill.
Definition at line 1074 of file rte_dmadev.h.
uint64_t user_meta
Memory to store user specific metadata. The DMA device implementation should not modify this area. Respect the boundary, bestie. π
Definition at line 1078 of file rte_dmadev.h.
uint64_t event_meta
Event metadata of DMA completion event. This field is doing a lot, okay? π Used when RTE_EVENT_DMA_ADAPTER_CAP_INTERNAL_PORT_VCHAN_EV_BIND is not supported in OP_NEW mode.
See also:
rte_event_dma_adapter_mode::RTE_EVENT_DMA_ADAPTER_OP_NEWRTE_EVENT_DMA_ADAPTER_CAP_INTERNAL_PORT_VCHAN_EV_BIND
Used when RTE_EVENT_DMA_ADAPTER_CAP_INTERNAL_PORT_OP_FWD is not supported in OP_FWD mode.
See also:
rte_event_dma_adapter_mode::RTE_EVENT_DMA_ADAPTER_OP_FORWARDRTE_EVENT_DMA_ADAPTER_CAP_INTERNAL_PORT_OP_FWDstruct rte_event::event
Definition at line 1092 of file rte_dmadev.h.
int16_t dma_dev_id
DMA device ID to be used with OP_FORWARD mode. Slay. β
See also: rte_event_dma_adapter_mode::RTE_EVENT_DMA_ADAPTER_OP_FORWARD
Definition at line 1096 of file rte_dmadev.h.
uint16_t vchan
DMA vchan ID to be used with OP_FORWARD mode π
See also: rte_event_dma_adapter_mode::RTE_EVENT_DMA_ADAPTER_OP_FORWARD
Definition at line 1100 of file rte_dmadev.h.
uint16_t nb_src
Number of source segments. Count them, bestie. β¨
Definition at line 1102 of file rte_dmadev.h.
uint16_t nb_dst
Number of destination segments. Same energy. π
Definition at line 1104 of file rte_dmadev.h.
struct rte_dma_sge src_dst_seg[]
Source and destination segments. The main event. π
Definition at line 1106 of file rte_dmadev.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. Not me being generated by Doxygen, but okay. π
okay bestie, that's the whole page π the footer vibe is DPDK, Version 26.03.0, and the manual page is rte_dma_op(3) β there's no date on this footer, so no invented date, periodt. β¨
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms