iPXE
Data Fields
netvsc_ring Struct Reference

A NetVSC descriptor ring. More...

#include <netvsc.h>

Data Fields

unsigned int count
 Number of descriptors. More...
 
struct io_buffer ** iobufs
 I/O buffers, indexed by buffer ID. More...
 
uint8_tids
 Buffer ID ring. More...
 
unsigned int id_prod
 Buffer ID producer counter. More...
 
unsigned int id_cons
 Buffer ID consumer counter. More...
 

Detailed Description

A NetVSC descriptor ring.

Definition at line 236 of file netvsc.h.

Field Documentation

◆ count

unsigned int netvsc_ring::count

Number of descriptors.

Definition at line 238 of file netvsc.h.

Referenced by __attribute__(), netvsc_create_ring(), netvsc_destroy_ring(), netvsc_recv_completion(), and netvsc_transmit().

◆ iobufs

struct io_buffer** netvsc_ring::iobufs

I/O buffers, indexed by buffer ID.

Definition at line 240 of file netvsc.h.

Referenced by netvsc_create_ring(), netvsc_destroy_ring(), netvsc_recv_completion(), and netvsc_transmit().

◆ ids

uint8_t* netvsc_ring::ids

Buffer ID ring.

Definition at line 242 of file netvsc.h.

Referenced by netvsc_create_ring(), netvsc_destroy_ring(), netvsc_recv_completion(), and netvsc_transmit().

◆ id_prod

unsigned int netvsc_ring::id_prod

Buffer ID producer counter.

Definition at line 244 of file netvsc.h.

Referenced by __attribute__(), netvsc_create_ring(), and netvsc_transmit().

◆ id_cons

unsigned int netvsc_ring::id_cons

Buffer ID consumer counter.

Definition at line 246 of file netvsc.h.

Referenced by __attribute__(), netvsc_create_ring(), netvsc_destroy_ring(), and netvsc_recv_completion().


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