Data Structures¶
struct rte_pmd_qdma_dev_attributes¶
#include "rte_pmd_qdma.h"
Overview
Structure to hold the QDMA device attributes
Fields
uint8_t num_pfs
Number of PFs
uint16_t num_qs
Number of Queues
uint8_t flr_present :1
Indicates whether FLR supported or not
uint8_t st_en :1
Indicates whether ST mode supported or not
uint8_t mm_en :1
Indicates whether MM mode supported or not
uint8_t mm_cmpt_en :1
Indicates whether MM with Completions supported or not
uint8_t mailbox_en :1
Indicates whether Mailbox supported or not
uint8_t debug_mode :1
Debug mode is enabled/disabled for IP
uint8_t desc_eng_mode :2
Descriptor Engine mode: Internal only/Bypass only/Internal & Bypass
uint8_t mm_channel_max
Number of MM channels
uint8_t cmpt_ovf_chk_dis :1
To indicate support of overflow check disable in CMPT ring
uint8_t sw_desc_64b :1
To indicate support of 64 bytes C2H/H2C descriptor format
uint8_t cmpt_desc_64b :1
To indicate support of 64 bytes CMPT descriptor format
uint8_t cmpt_trig_count_timer :1
To indicate support of counter + timer trigger mode
enum rte_pmd_qdma_device_type device_type
Device Type
enum rte_pmd_qdma_ip_type ip_type
Versal IP Type