iPXE
Data Fields
netvsc_ring Struct Reference

A NetVSC descriptor ring. More...

#include <netvsc.h>

Data Fields

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

Detailed Description

A NetVSC descriptor ring.

Definition at line 236 of file netvsc.h.


Field Documentation

unsigned int netvsc_ring::count

Number of descriptors.

Definition at line 238 of file netvsc.h.

Referenced by netvsc_create_ring(), and netvsc_destroy_ring().

I/O buffers, indexed by buffer ID.

Definition at line 240 of file netvsc.h.

Referenced by netvsc_create_ring(), and netvsc_destroy_ring().

Buffer ID ring.

Definition at line 242 of file netvsc.h.

Referenced by netvsc_create_ring(), and netvsc_destroy_ring().

unsigned int netvsc_ring::id_prod

Buffer ID producer counter.

Definition at line 244 of file netvsc.h.

Referenced by netvsc_create_ring().

unsigned int netvsc_ring::id_cons

Buffer ID consumer counter.

Definition at line 246 of file netvsc.h.

Referenced by netvsc_create_ring(), and netvsc_destroy_ring().


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