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_vchan_conf

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                           rte_dma_vchan_conf(3)

Detailed Description

       A structure used to configure a virtual DMA channel.

       Seealsorte_dma_vchan_setup

       Definition at line 569 of file rte_dmadev.h.

Field Documentation

enumrte_dma_directiondirection
       Transfer direction

       Seealso
           enum rte_dma_direction

       Definition at line 574 of file rte_dmadev.h.

   uint16_tnb_desc
       Number of descriptor for the virtual DMA channel

       Definition at line 576 of file rte_dmadev.h.

   structrte_dma_port_paramsrc_port
       1) Used to describes the device access port parameter in the device-to-memory transfer scenario. 2) Used
       to describes the source device access port parameter in the device-to-device transfer scenario.

       Seealso
           struct rte_dma_port_param

       Definition at line 584 of file rte_dmadev.h.

   structrte_dma_port_paramdst_port
       1) Used to describes the device access port parameter in the memory-to-device transfer scenario. 2) Used
       to describes the destination device access port parameter in the device-to-device transfer scenario.

       Seealso
           struct rte_dma_port_param

       Definition at line 592 of file rte_dmadev.h.

   structrte_dma_auto_free_paramauto_free
       Buffer params to auto free buffer by hardware. To free the buffer by hardware, RTE_DMA_OP_FLAG_AUTO_FREE
       must be set while calling rte_dma_copy and rte_dma_copy_sg().

       SeealsoRTE_DMA_OP_FLAG_AUTO_FREE

           struct rte_dma_auto_free_param

       Definition at line 600 of file rte_dmadev.h.

Name

       rte_dma_vchan_conf

Synopsis

       #include <rte_dmadev.h>

   DataFields
       enum rte_dma_directiondirection
       uint16_t nb_desc
       struct rte_dma_port_paramsrc_port
       struct rte_dma_port_paramdst_port
       struct rte_dma_auto_free_paramauto_free

See Also