rte_dma_port_param(3)
π NAME π
rte_dma_port_param β bestie, it's a struct, and it's here to describe DMA access port parameters β¨
π SYNOPSIS π
#include <rte_dmadev.h>
Data Fields
enum rte_dma_port_type port_typeuint64_t reserved [2]
π¦ Detailed Description π¦
Okay so this struct's whole job β its entire main character arc β is to describe DMA access port parameters. That's it, that's the vibe π
See also π
struct rte_dma_vchan_conf::src_portstruct rte_dma_vchan_conf::dst_port
Definition at line 498 of file rte_dmadev.h. π
π Field Documentation π
π enum rte_dma_port_type port_type
The device access port type. That's the whole tea π΅
See also
enum rte_dma_port_type
Definition at line 503 of file rte_dmadev.h. π
πΈ uint64_t coreid
PCIe core id used.
Definition at line 556 of file rte_dmadev.h. π
πΈ uint64_t pfid
PF id used.
Definition at line 557 of file rte_dmadev.h. π
πΈ uint64_t vfen
VF enable bit.
Definition at line 558 of file rte_dmadev.h. π
πΈ uint64_t vfid
VF id used.
Definition at line 559 of file rte_dmadev.h. π
πΈ uint64_t pasid
The pasid filed in TLP packet.
Definition at line 561 of file rte_dmadev.h. π
πΈ uint64_t attr
The attributes filed in TLP packet.
Definition at line 563 of file rte_dmadev.h. π
πΈ uint64_t ph
The processing hint filed in TLP packet.
Definition at line 565 of file rte_dmadev.h. π
πΈ uint64_t st
The steering tag filed in TLP packet.
Definition at line 567 of file rte_dmadev.h. π
π§ __extension__ union { ... } pcie
PCIe access port parameters. No cap, this is the juicy one π«Ά
The following model shows SoC's PCIe module connects to multiple PCIe hosts and multiple endpoints. The PCIe module has an integrated DMA controller.
If the DMA wants to access the memory of host A, it can be initiated by PF1 in core0, or by VF0 of PF0 in core0.
System Bus
| ----------PCIe module----------
| Bus
| Interface
| ----- ------------------
| | | | PCIe Core0 |
| | | | | -----------
| | | | PF-0 -- VF-0 | | Host A |
| | |--------| |- VF-1 |--------| Root |
| | | | PF-1 | | Complex |
| | | | PF-2 | -----------
| | | ------------------
| | |
| | | ------------------
| | | | PCIe Core1 |
| | | | | -----------
| | | | PF-0 -- VF-0 | | Host B |
|-----| |--------| PF-1 -- VF-0 |--------| Root |
| | | | |- VF-1 | | Complex |
| | | | PF-2 | -----------
| | | ------------------
| | |
| | | ------------------
| |DMA| | | ------
| | | | |--------| EP |
| | |--------| PCIe Core2 | ------
| | | | | ------
| | | | |--------| EP |
| | | | | ------
| ----- ------------------
Note π¨ If some fields can not be supported by the hardware/driver, then the driver ignores those fields. Please check driver-specific documentation for limitations and capabilities. Like, actually check it, bestie β don't guess π
π uint64_t reserved[2]
Reserved for future fields.
Definition at line 572 of file rte_dmadev.h. π
βοΈ Author
Generated automatically by Doxygen for DPDK from the source code.
Okay that's the whole page, and yes it slayed β Version 25.11.3 of DPDK, rte_dma_port_param(3), that's the whole vibe β catch you in the next manpage, bestie πππ¦
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms