logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rte_dma_port_param

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                           rte_dma_port_param(3)

Detailed Description

       A structure used to descript DMA access port parameters.

       Seealso
           struct rte_dma_vchan_conf::src_port

           struct rte_dma_vchan_conf::dst_port

       Definition at line 470 of file rte_dmadev.h.

Field Documentation

enumrte_dma_port_typeport_type
       The device access port type.

       Seealso
           enum rte_dma_port_type

       Definition at line 475 of file rte_dmadev.h.

   uint64_tcoreid
       PCIe core id used.

       Definition at line 527 of file rte_dmadev.h.

   uint64_tpfid
       PF id used.

       Definition at line 528 of file rte_dmadev.h.

   uint64_tvfen
       VF enable bit.

       Definition at line 529 of file rte_dmadev.h.

   uint64_tvfid
       VF id used.

       Definition at line 530 of file rte_dmadev.h.

   uint64_tpasid
       The pasid filed in TLP packet.

       Definition at line 532 of file rte_dmadev.h.

   uint64_tattr
       The attributes filed in TLP packet.

       Definition at line 534 of file rte_dmadev.h.

   uint64_tph
       The processing hint filed in TLP packet.

       Definition at line 536 of file rte_dmadev.h.

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

       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_treserved[2]
       Reserved for future fields.

       Definition at line 541 of file rte_dmadev.h.

Name

       rte_dma_port_param

Synopsis

       #include <rte_dmadev.h>

   DataFields
       enum rte_dma_port_typeport_type
       uint64_t reserved [2]

See Also