---
name: "rte_dma_port_param"
section: "3"
platform: "linux"
package: "dpdk-doc"
version: "24.11.4-0+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/rte_dma_port_param"
---

# rte\_dma\_port\_param(3)

## NAME

rte\_dma\_port\_param

## SYNOPSIS

`#include <rte_dmadev.h>`

### Data Fields

enum **rte\_dma\_port\_type** **port\_type**\
 uint64\_t **reserved** \[2\]\

## Detailed Description

A structure used to descript DMA access port parameters.

**See also**

struct **rte\_dma\_vchan\_conf::src\_port**

struct **rte\_dma\_vchan\_conf::dst\_port**

Definition at line **471** of file **rte\_dmadev.h**.

## Field Documentation

### enum rte\_dma\_port\_type port\_type

The device access port type.

**See also**

enum **rte\_dma\_port\_type**

Definition at line **476** of file **rte\_dmadev.h**.

### uint64\_t coreid

PCIe core id used.

Definition at line **528** of file **rte\_dmadev.h**.

### uint64\_t pfid

PF id used.

Definition at line **529** of file **rte\_dmadev.h**.

### uint64\_t vfen

VF enable bit.

Definition at line **530** of file **rte\_dmadev.h**.

### uint64\_t vfid

VF id used.

Definition at line **531** of file **rte\_dmadev.h**.

### uint64\_t pasid

The pasid filed in TLP packet.

Definition at line **533** of file **rte\_dmadev.h**.

### uint64\_t attr

The attributes filed in TLP packet.

Definition at line **535** of file **rte\_dmadev.h**.

### uint64\_t ph

The processing hint filed in TLP packet.

Definition at line **537** of file **rte\_dmadev.h**.

### uint64\_t st

The steering tag filed in TLP packet.

Definition at line **539** 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.

```
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.

### uint64\_t reserved\[2\]

Reserved for future fields.

Definition at line **542** of file **rte\_dmadev.h**.

## Author

Generated automatically by Doxygen for DPDK from the source code.
