iPXE
Data Fields
intel_ring Struct Reference

An Intel descriptor ring. More...

#include <intel.h>

Data Fields

struct intel_descriptordesc
 Descriptors. More...
 
struct dma_mapping map
 Descriptor ring DMA mapping. More...
 
unsigned int prod
 Producer index. More...
 
unsigned int cons
 Consumer index. More...
 
unsigned int reg
 Register block. More...
 
size_t len
 Length (in bytes) More...
 
void(* describe )(struct intel_descriptor *desc, physaddr_t addr, size_t len)
 Populate descriptor. More...
 

Detailed Description

An Intel descriptor ring.

Definition at line 222 of file intel.h.

Field Documentation

◆ desc

struct intel_descriptor* intel_ring::desc

◆ map

struct dma_mapping intel_ring::map

Descriptor ring DMA mapping.

Definition at line 226 of file intel.h.

Referenced by intel_create_ring(), and intel_destroy_ring().

◆ prod

unsigned int intel_ring::prod

Producer index.

Definition at line 228 of file intel.h.

Referenced by intel_destroy_ring(), intel_poll_rx(), intel_poll_tx(), intel_refill_rx(), and intel_transmit().

◆ cons

unsigned int intel_ring::cons

Consumer index.

Definition at line 230 of file intel.h.

Referenced by intel_destroy_ring(), intel_poll_rx(), intel_poll_tx(), intel_refill_rx(), and intel_transmit().

◆ reg

unsigned int intel_ring::reg

Register block.

Definition at line 233 of file intel.h.

Referenced by intel_create_ring(), intel_destroy_ring(), intel_init_ring(), intel_refill_rx(), and intel_transmit().

◆ len

size_t intel_ring::len

Length (in bytes)

Definition at line 235 of file intel.h.

Referenced by intel_create_ring(), intel_destroy_ring(), and intel_init_ring().

◆ describe

void( * intel_ring::describe) (struct intel_descriptor *desc, physaddr_t addr, size_t len)

Populate descriptor.

Parameters
descDescriptor
addrData buffer address
lenLength of data

Definition at line 243 of file intel.h.

Referenced by intel_init_ring(), intel_refill_rx(), and intel_transmit().


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