iPXE
Data Fields
intel_ring Struct Reference

An Intel descriptor ring. More...

#include <intel.h>

Data Fields

struct intel_descriptordesc
 Descriptors. 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 213 of file intel.h.

Field Documentation

◆ desc

struct intel_descriptor* intel_ring::desc

◆ prod

unsigned int intel_ring::prod

Producer index.

Definition at line 217 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 219 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 222 of file intel.h.

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

◆ len

size_t intel_ring::len

Length (in bytes)

Definition at line 224 of file intel.h.

Referenced by intel_create_ring(), and intel_destroy_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 232 of file intel.h.

Referenced by intel_refill_rx(), and intel_transmit().


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