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

Author

       Generated automatically by Doxygen for DPDK from the source code.

DPDK                                             Version 24.11.2                                 rte_dma_info(3)

Detailed Description

       A structure used to retrieve the information of a DMA device.

       Seealsorte_dma_info_get

       Definition at line 285 of file rte_dmadev.h.

Field Documentation

constchar*dev_name
       Unique device name.

       Definition at line 286 of file rte_dmadev.h.

   uint64_tdev_capa
       Device capabilities (RTE_DMA_CAPA_*).

       Definition at line 288 of file rte_dmadev.h.

   uint16_tmax_vchans
       Maximum number of virtual DMA channels supported.

       Definition at line 290 of file rte_dmadev.h.

   uint16_tmax_desc
       Maximum allowed number of virtual DMA channel descriptors.

       Definition at line 292 of file rte_dmadev.h.

   uint16_tmin_desc
       Minimum allowed number of virtual DMA channel descriptors.

       Definition at line 294 of file rte_dmadev.h.

   uint16_tmax_sges
       Maximum number of source or destination scatter-gather entry supported. If the device does not support
       COPY_SG capability, this value can be zero. If the device supports COPY_SG capability, then
       rte_dma_copy_sg() parameter nb_src/nb_dst should not exceed this value.

       Definition at line 302 of file rte_dmadev.h.

   int16_tnuma_node
       NUMA node connection, -1 if unknown.

       Definition at line 304 of file rte_dmadev.h.

   uint16_tnb_vchans
       Number of virtual DMA channel configured.

       Definition at line 306 of file rte_dmadev.h.

   uint16_tnb_priorities
       Number of priority levels (must be > 1) if priority scheduling is supported, 0 otherwise.

       Definition at line 310 of file rte_dmadev.h.

Name

       rte_dma_info

Synopsis

       #include <rte_dmadev.h>

   DataFields
       const char * dev_name
       uint64_t dev_capa
       uint16_t max_vchans
       uint16_t max_desc
       uint16_t min_desc
       uint16_t max_sges
       int16_t numa_node
       uint16_t nb_vchans
       uint16_t nb_priorities
return

See Also