iPXE
Data Fields
gve_resources Struct Reference

Queue resources. More...

#include <gve.h>

Data Fields

uint32_t db_idx
 Descriptor doorbell index (within doorbell BAR) More...
 
uint32_t evt_idx
 Event counter index (within event counter array) More...
 
uint8_t reserved [56]
 Reserved. More...
 

Detailed Description

Queue resources.

Written by the device to indicate the indices of the chosen event counter and descriptor doorbell register.

This appears to be a largely pointless data structure: the relevant information is static for the lifetime of the queue and could trivially have been returned in the response for the "create transmit/receive queue" command, instead of requiring yet another page-aligned coherent DMA buffer allocation.

Definition at line 428 of file gve.h.

Field Documentation

◆ db_idx

uint32_t gve_resources::db_idx

Descriptor doorbell index (within doorbell BAR)

Definition at line 430 of file gve.h.

◆ evt_idx

uint32_t gve_resources::evt_idx

Event counter index (within event counter array)

Definition at line 432 of file gve.h.

◆ reserved

uint8_t gve_resources::reserved[56]

Reserved.

Definition at line 434 of file gve.h.


The documentation for this struct was generated from the following file: