iPXE
Data Fields
intelxl_ring Struct Reference

Descriptor ring. More...

#include <intelxl.h>

Data Fields

union {
   union intelxl_tx_descriptor *   tx
 Transmit descriptors. More...
 
   union intelxl_rx_descriptor *   rx
 Receive descriptors. More...
 
   void *   raw
 Raw data. More...
 
desc
 Descriptors. More...
 
unsigned int prod
 Producer index. More...
 
unsigned int cons
 Consumer index. More...
 
unsigned int reg
 Register block. More...
 
unsigned int tail
 Tail register. More...
 
size_t len
 Length (in bytes) More...
 
int(* context )(struct intelxl_nic *intelxl, physaddr_t address)
 Program queue context. More...
 

Detailed Description

Descriptor ring.

Definition at line 864 of file intelxl.h.

Field Documentation

◆ tx

union intelxl_tx_descriptor* intelxl_ring::tx

Transmit descriptors.

Definition at line 868 of file intelxl.h.

Referenced by intelxl_poll_tx(), intelxl_probe(), intelxl_transmit(), and intelxlvf_probe().

◆ rx

union intelxl_rx_descriptor* intelxl_ring::rx

Receive descriptors.

Definition at line 870 of file intelxl.h.

Referenced by intelxl_poll_rx(), intelxl_probe(), intelxl_refill_rx(), and intelxlvf_probe().

◆ raw

void* intelxl_ring::raw

Raw data.

Definition at line 872 of file intelxl.h.

Referenced by intelxl_alloc_ring(), intelxl_create_ring(), intelxl_free_ring(), and intelxlvf_admin_configure().

◆ desc

union { ... } intelxl_ring::desc

◆ prod

unsigned int intelxl_ring::prod

Producer index.

Definition at line 875 of file intelxl.h.

Referenced by intelxl_alloc_ring(), intelxl_poll_rx(), intelxl_poll_tx(), intelxl_refill_rx(), and intelxl_transmit().

◆ cons

unsigned int intelxl_ring::cons

Consumer index.

Definition at line 877 of file intelxl.h.

Referenced by intelxl_alloc_ring(), intelxl_poll_rx(), intelxl_poll_tx(), intelxl_refill_rx(), and intelxl_transmit().

◆ reg

unsigned int intelxl_ring::reg

Register block.

Definition at line 880 of file intelxl.h.

Referenced by intelxl_alloc_ring(), intelxl_disable_ring(), intelxl_enable_ring(), intelxl_open(), and intelxl_probe().

◆ tail

unsigned int intelxl_ring::tail

Tail register.

Definition at line 882 of file intelxl.h.

Referenced by intelxl_alloc_ring(), intelxl_probe(), intelxl_refill_rx(), intelxl_transmit(), and intelxlvf_init_ring().

◆ len

size_t intelxl_ring::len

Length (in bytes)

Definition at line 884 of file intelxl.h.

Referenced by intelxl_alloc_ring(), intelxl_free_ring(), and intelxlvf_init_ring().

◆ context

int( * intelxl_ring::context) (struct intelxl_nic *intelxl, physaddr_t address)

Program queue context.

Parameters
intelxlIntel device
addressDescriptor ring base address

Definition at line 890 of file intelxl.h.

Referenced by intelxl_create_ring().


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