DPDK 25.03.0-rc0
|
#include <rte_dmadev.h>
Data Fields | |
enum rte_dma_port_type | port_type |
uint64_t | reserved [2] |
uint64_t | coreid: 4 |
uint64_t | pfid: 8 |
uint64_t | vfen: 1 |
uint64_t | vfid: 16 |
uint64_t | pasid: 20 |
uint64_t | attr: 3 |
uint64_t | ph: 2 |
uint64_t | st: 16 |
struct { | |
uint64_t coreid: 4 | |
uint64_t pfid: 8 | |
uint64_t vfen: 1 | |
uint64_t vfid: 16 | |
uint64_t pasid: 20 | |
uint64_t attr: 3 | |
uint64_t ph: 2 | |
uint64_t st: 16 | |
} | pcie |
A structure used to descript DMA access port parameters.
Definition at line 470 of file rte_dmadev.h.
enum rte_dma_port_type port_type |
The device access port type.
Definition at line 475 of file rte_dmadev.h.
uint64_t coreid |
PCIe core id used.
Definition at line 527 of file rte_dmadev.h.
uint64_t pfid |
PF id used.
Definition at line 528 of file rte_dmadev.h.
uint64_t vfen |
VF enable bit.
Definition at line 529 of file rte_dmadev.h.
uint64_t vfid |
VF id used.
Definition at line 530 of file rte_dmadev.h.
uint64_t pasid |
The pasid filed in TLP packet.
Definition at line 532 of file rte_dmadev.h.
uint64_t attr |
The attributes filed in TLP packet.
Definition at line 534 of file rte_dmadev.h.
uint64_t ph |
The processing hint filed in TLP packet.
Definition at line 536 of file rte_dmadev.h.
uint64_t st |
The steering tag filed in TLP packet.
Definition at line 538 of file rte_dmadev.h.
__extension__ struct { ... } pcie |
PCIe access port parameters.
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.
uint64_t reserved[2] |
Reserved for future fields.
Definition at line 541 of file rte_dmadev.h.