Enumerations¶
enum rte_pmd_qdma_bypass_desc_len¶
Overview
Enum to specify the bypass descriptor length
// enum values RTE_PMD_QDMA_BYPASS_DESC_LEN_8B = 8 RTE_PMD_QDMA_BYPASS_DESC_LEN_16B = 16 RTE_PMD_QDMA_BYPASS_DESC_LEN_32B = 32 RTE_PMD_QDMA_BYPASS_DESC_LEN_64B = 64 RTE_PMD_QDMA_BYPASS_DESC_LEN_MAX
Enum values
Value Description
RTE_PMD_QDMA_BYPASS_DESC_LEN_8B
8B Bypass descriptor
RTE_PMD_QDMA_BYPASS_DESC_LEN_16B
16B Bypass descriptor
RTE_PMD_QDMA_BYPASS_DESC_LEN_32B
32B Bypass descriptor
RTE_PMD_QDMA_BYPASS_DESC_LEN_64B
64B Bypass descriptor
RTE_PMD_QDMA_BYPASS_DESC_LEN_MAX
Invalid Bypass descriptor
enum rte_pmd_qdma_cmpt_desc_len¶
Overview
Enum to specify the completion descriptor length
// enum values RTE_PMD_QDMA_CMPT_DESC_LEN_8B = 8 RTE_PMD_QDMA_CMPT_DESC_LEN_16B = 16 RTE_PMD_QDMA_CMPT_DESC_LEN_32B = 32 RTE_PMD_QDMA_CMPT_DESC_LEN_64B = 64 RTE_PMD_QDMA_CMPT_DESC_LEN_MAX
Enum values
Value Description
RTE_PMD_QDMA_CMPT_DESC_LEN_8B
8B Completion descriptor
RTE_PMD_QDMA_CMPT_DESC_LEN_16B
16B Completion descriptor
RTE_PMD_QDMA_CMPT_DESC_LEN_32B
32B Completion descriptor
RTE_PMD_QDMA_CMPT_DESC_LEN_64B
64B Completion descriptor
RTE_PMD_QDMA_CMPT_DESC_LEN_MAX
Invalid Completion descriptor
enum rte_pmd_qdma_device_type¶
Overview
Enum to specify the QDMA device type
// enum values RTE_PMD_QDMA_DEVICE_SOFT RTE_PMD_QDMA_DEVICE_VERSAL_CPM4 RTE_PMD_QDMA_DEVICE_VERSAL_CPM5 RTE_PMD_QDMA_DEVICE_NONE
Enum values
Value Description
RTE_PMD_QDMA_DEVICE_SOFT
QDMA Soft device e.g. UltraScale+ IP’s
RTE_PMD_QDMA_DEVICE_VERSAL_CPM4
QDMA Versal CPM4 device
RTE_PMD_QDMA_DEVICE_VERSAL_CPM5
QDMA Versal CPM5 device
RTE_PMD_QDMA_DEVICE_NONE
Invalid QDMA device
enum rte_pmd_qdma_dir_type¶
Overview
Enum to specify the direction i.e. TX or RX
// enum values RTE_PMD_QDMA_TX = 0 RTE_PMD_QDMA_RX RTE_PMD_QDMA_DIR_TYPE_MAX
Enum values
Value Description
RTE_PMD_QDMA_TX
H2C direction
RTE_PMD_QDMA_RX
C2H direction
RTE_PMD_QDMA_DIR_TYPE_MAX
Invalid Direction
enum rte_pmd_qdma_ip_type¶
Overview
Enum to specify the QDMA IP type
// enum values RTE_PMD_QDMA_VERSAL_HARD_IP RTE_PMD_QDMA_VERSAL_SOFT_IP RTE_PMD_QDMA_SOFT_IP RTE_PMD_EQDMA_SOFT_IP RTE_PMD_QDMA_NONE_IP
Enum values
Value Description
RTE_PMD_QDMA_VERSAL_HARD_IP
Versal Hard IP
RTE_PMD_QDMA_VERSAL_SOFT_IP
Versal Soft IP
RTE_PMD_QDMA_SOFT_IP
QDMA Soft IP
RTE_PMD_EQDMA_SOFT_IP
EQDMA Soft IP
RTE_PMD_QDMA_NONE_IP
Invalid IP type
enum rte_pmd_qdma_pci_func_type¶
Overview
Enum to specify the PCIe function type i.e. PF or VF
// enum values RTE_PMD_QDMA_PCI_FUNC_PF RTE_PMD_QDMA_PCI_FUNC_VF RTE_PMD_QDMA_PCI_FUNC_TYPE_MAX
Enum values
Value Description
RTE_PMD_QDMA_PCI_FUNC_PF
Physical Function
RTE_PMD_QDMA_PCI_FUNC_VF
Virtual Function
RTE_PMD_QDMA_PCI_FUNC_TYPE_MAX
Invalid PCI Function
enum rte_pmd_qdma_queue_mode_t¶
Overview
Enum to specify the queue mode
// enum values RTE_PMD_QDMA_MEMORY_MAPPED_MODE RTE_PMD_QDMA_STREAMING_MODE RTE_PMD_QDMA_QUEUE_MODE_MAX
Enum values
Value Description
RTE_PMD_QDMA_MEMORY_MAPPED_MODE
Memory mapped queue mode
RTE_PMD_QDMA_STREAMING_MODE
Streaming queue mode
RTE_PMD_QDMA_QUEUE_MODE_MAX
Invalid queue mode
enum rte_pmd_qdma_rx_bypass_mode¶
Overview
Bypass modes in C2H direction
// enum values RTE_PMD_QDMA_RX_BYPASS_NONE = 0 RTE_PMD_QDMA_RX_BYPASS_CACHE = 1 RTE_PMD_QDMA_RX_BYPASS_SIMPLE = 2 RTE_PMD_QDMA_RX_BYPASS_MAX
Enum values
Value Description
RTE_PMD_QDMA_RX_BYPASS_NONE
C2H bypass mode disabled
RTE_PMD_QDMA_RX_BYPASS_CACHE
C2H cache bypass mode
RTE_PMD_QDMA_RX_BYPASS_SIMPLE
C2H simple bypass mode
RTE_PMD_QDMA_RX_BYPASS_MAX
C2H bypass mode invalid
enum rte_pmd_qdma_tigger_mode_t¶
Overview
Enum to specify the completion trigger mode
// enum values RTE_PMD_QDMA_TRIG_MODE_DISABLE RTE_PMD_QDMA_TRIG_MODE_EVERY RTE_PMD_QDMA_TRIG_MODE_USER_COUNT RTE_PMD_QDMA_TRIG_MODE_USER RTE_PMD_QDMA_TRIG_MODE_USER_TIMER RTE_PMD_QDMA_TRIG_MODE_USER_TIMER_COUNT RTE_PMD_QDMA_TRIG_MODE_MAX
Enum values
Value Description
RTE_PMD_QDMA_TRIG_MODE_DISABLE
Trigger mode disabled
RTE_PMD_QDMA_TRIG_MODE_EVERY
Trigger mode every
RTE_PMD_QDMA_TRIG_MODE_USER_COUNT
Trigger mode user count
RTE_PMD_QDMA_TRIG_MODE_USER
Trigger mode user
RTE_PMD_QDMA_TRIG_MODE_USER_TIMER
Trigger mode timer
RTE_PMD_QDMA_TRIG_MODE_USER_TIMER_COUNT
Trigger mode timer + count
RTE_PMD_QDMA_TRIG_MODE_MAX
Trigger mode invalid
enum rte_pmd_qdma_tx_bypass_mode¶
Overview
Bypass modes in H2C direction
// enum values RTE_PMD_QDMA_TX_BYPASS_NONE = 0 RTE_PMD_QDMA_TX_BYPASS_ENABLE = 1 RTE_PMD_QDMA_TX_BYPASS_MAX
Enum values
Value Description
RTE_PMD_QDMA_TX_BYPASS_NONE
H2C bypass mode disabled
RTE_PMD_QDMA_TX_BYPASS_ENABLE
H2C bypass mode enabled
RTE_PMD_QDMA_TX_BYPASS_MAX
H2C bypass mode invalid
enum rte_pmd_qdma_xdebug_desc_type¶
Overview
Enum to specify the queue ring for debug
// enum values RTE_PMD_QDMA_XDEBUG_DESC_C2H RTE_PMD_QDMA_XDEBUG_DESC_H2C RTE_PMD_QDMA_XDEBUG_DESC_CMPT RTE_PMD_QDMA_XDEBUG_DESC_MAX
Enum values
Value Description
RTE_PMD_QDMA_XDEBUG_DESC_C2H
Debug C2H ring descriptor
RTE_PMD_QDMA_XDEBUG_DESC_H2C
Debug H2C ring descriptor
RTE_PMD_QDMA_XDEBUG_DESC_CMPT
Debug CMPT ring descriptor
RTE_PMD_QDMA_XDEBUG_DESC_MAX
Invalid debug type
enum rte_pmd_qdma_xdebug_type¶
Overview
Enum to specify the debug request type
// enum values RTE_PMD_QDMA_XDEBUG_QDMA_GLOBAL_CSR RTE_PMD_QDMA_XDEBUG_QDMA_DEVICE_STRUCT RTE_PMD_QDMA_XDEBUG_QUEUE_INFO RTE_PMD_QDMA_XDEBUG_QUEUE_DESC_DUMP RTE_PMD_QDMA_XDEBUG_MAX
Enum values
Value Description
RTE_PMD_QDMA_XDEBUG_QDMA_GLOBAL_CSR
Debug Global registers
RTE_PMD_QDMA_XDEBUG_QDMA_DEVICE_STRUCT
Debug Device specific structure
RTE_PMD_QDMA_XDEBUG_QUEUE_INFO
Debug Queue information
RTE_PMD_QDMA_XDEBUG_QUEUE_DESC_DUMP
Debug descriptor
RTE_PMD_QDMA_XDEBUG_MAX
Invalid debug type