iPXE
Data Fields
netvsc_device Struct Reference

A NetVSC device. More...

#include <netvsc.h>

Data Fields

struct vmbus_devicevmdev
 VMBus device. More...
 
struct rndis_devicerndis
 RNDIS device. More...
 
const char * name
 Name. More...
 
struct netvsc_ring tx
 Transmit ring. More...
 
uint8_t tx_ids [NETVSC_TX_NUM_DESC]
 Transmit buffer IDs. More...
 
struct io_buffertx_iobufs [NETVSC_TX_NUM_DESC]
 Transmit I/O buffers. More...
 
struct netvsc_buffer rx
 Receive buffer. More...
 
unsigned int wait_xrid
 Relative transaction ID for current blocking transaction. More...
 
int wait_rc
 Return status code for current blocking transaction. More...
 

Detailed Description

A NetVSC device.

Definition at line 341 of file netvsc.h.

Field Documentation

◆ vmdev

struct vmbus_device* netvsc_device::vmdev

◆ rndis

struct rndis_device* netvsc_device::rndis

◆ name

const char* netvsc_device::name

◆ tx

struct netvsc_ring netvsc_device::tx

Transmit ring.

Definition at line 350 of file netvsc.h.

Referenced by netvsc_close(), netvsc_open(), netvsc_probe(), netvsc_recv_completion(), and netvsc_transmit().

◆ tx_ids

uint8_t netvsc_device::tx_ids[NETVSC_TX_NUM_DESC]

Transmit buffer IDs.

Definition at line 352 of file netvsc.h.

Referenced by netvsc_probe().

◆ tx_iobufs

struct io_buffer* netvsc_device::tx_iobufs[NETVSC_TX_NUM_DESC]

Transmit I/O buffers.

Definition at line 354 of file netvsc.h.

Referenced by netvsc_probe().

◆ rx

struct netvsc_buffer netvsc_device::rx

Receive buffer.

Definition at line 357 of file netvsc.h.

Referenced by netvsc_close(), netvsc_open(), and netvsc_probe().

◆ wait_xrid

unsigned int netvsc_device::wait_xrid

Relative transaction ID for current blocking transaction.

Definition at line 360 of file netvsc.h.

Referenced by netvsc_control(), and netvsc_recv_completion().

◆ wait_rc

int netvsc_device::wait_rc

Return status code for current blocking transaction.

Definition at line 362 of file netvsc.h.

Referenced by netvsc_control(), and netvsc_recv_completion().


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