|
iPXE
|
VMware vmxnet3 virtual NIC driver. More...
#include <ipxe/pci.h>Go to the source code of this file.
Data Structures | |
| struct | vmxnet3_misc_config |
| Miscellaneous configuration descriptor. More... | |
| struct | vmxnet3_interrupt_config |
| Interrupt configuration. More... | |
| struct | vmxnet3_rx_filter_config |
| Receive filter configuration. More... | |
| struct | vmxnet3_variable_config |
| Variable-length configuration descriptor. More... | |
| struct | vmxnet3_shared |
| Driver shared area. More... | |
| struct | vmxnet3_tx_desc |
| Transmit descriptor. More... | |
| struct | vmxnet3_tx_comp |
| Transmit completion descriptor. More... | |
| struct | vmxnet3_tx_queue_control |
| Transmit queue control. More... | |
| struct | vmxnet3_tx_queue_config |
| Transmit queue configuration. More... | |
| struct | vmxnet3_tx_stats |
| Transmit queue statistics. More... | |
| struct | vmxnet3_rx_desc |
| Receive descriptor. More... | |
| struct | vmxnet3_rx_comp |
| Receive completion descriptor. More... | |
| struct | vmxnet3_rx_queue_control |
| Receive queue control. More... | |
| struct | vmxnet3_rx_queue_config |
| Receive queue configuration. More... | |
| struct | vmxnet3_rx_stats |
| Receive queue statistics. More... | |
| struct | vmxnet3_queue_status |
| Queue status. More... | |
| struct | vmxnet3_tx_queue |
| Transmit queue descriptor. More... | |
| struct | vmxnet3_rx_queue |
| Receive queue descriptor. More... | |
| struct | vmxnet3_queues |
| Queue descriptor set. More... | |
| struct | vmxnet3_dma |
| DMA areas. More... | |
| struct | vmxnet3_counters |
| Producer and consumer counters. More... | |
| struct | vmxnet3_nic |
| A vmxnet3 NIC. More... | |
Macros | |
| #define | VMXNET3_MAX_TX_QUEUES 8 |
| Maximum number of TX queues. More... | |
| #define | VMXNET3_MAX_RX_QUEUES 16 |
| Maximum number of RX queues. More... | |
| #define | VMXNET3_MAX_INTRS 25 |
| Maximum number of interrupts. More... | |
| #define | VMXNET3_MAX_PACKET_LEN 0x4000 |
| Maximum packet size. More... | |
| #define | VMXNET3_PT_BAR PCI_BASE_ADDRESS_0 |
| "PT" PCI BAR address More... | |
| #define | VMXNET3_PT_LEN 0x1000 |
| "PT" PCI BAR size More... | |
| #define | VMXNET3_PT_IMR 0x0 |
| Interrupt Mask Register. More... | |
| #define | VMXNET3_PT_TXPROD 0x600 |
| Transmit producer index. More... | |
| #define | VMXNET3_PT_RXPROD 0x800 |
| Rx producer index for ring 1. More... | |
| #define | VMXNET3_PT_RXPROD2 0xa00 |
| Rx producer index for ring 2. More... | |
| #define | VMXNET3_VD_BAR PCI_BASE_ADDRESS_1 |
| "VD" PCI BAR address More... | |
| #define | VMXNET3_VD_LEN 0x1000 |
| "VD" PCI BAR size More... | |
| #define | VMXNET3_VD_VRRS 0x0 |
| vmxnet3 Revision Report Selection More... | |
| #define | VMXNET3_VD_UVRS 0x8 |
| UPT Version Report Selection. More... | |
| #define | VMXNET3_VD_DSAL 0x10 |
| Driver Shared Address Low. More... | |
| #define | VMXNET3_VD_DSAH 0x18 |
| Driver Shared Address High. More... | |
| #define | VMXNET3_VD_CMD 0x20 |
| Command. More... | |
| #define | VMXNET3_VD_MACL 0x28 |
| MAC Address Low. More... | |
| #define | VMXNET3_VD_MACH 0x30 |
| MAC Address High. More... | |
| #define | VMXNET3_VD_ICR 0x38 |
| Interrupt Cause Register. More... | |
| #define | VMXNET3_VD_ECR 0x40 |
| Event Cause Register. More... | |
| #define | VMXNET3_VERSION_MAGIC 0x69505845 |
| Driver version magic. More... | |
| #define | VMXNET3_IC_DISABLE_ALL 0x1 |
| Interrupt control - disable all interrupts. More... | |
| #define | VMXNET3_SHARED_ALIGN 8 |
| Alignment of driver shared area. More... | |
| #define | VMXNET3_SHARED_MAGIC 0xbabefee1 |
| Driver shared area magic. More... | |
| #define | VMXNET3_TXF_GEN 0x00004000UL |
| Transmit generation flag. More... | |
| #define | VMXNET3_TXF_EOP 0x000001000UL |
| Transmit end-of-packet flag. More... | |
| #define | VMXNET3_TXF_CQ 0x000002000UL |
| Transmit completion request flag. More... | |
| #define | VMXNET3_TXCF_GEN 0x80000000UL |
| Transmit completion generation flag. More... | |
| #define | VMXNET3_RXF_GEN 0x80000000UL |
| Receive generation flag. More... | |
| #define | VMXNET3_RXCF_GEN 0x80000000UL |
| Receive completion generation flag. More... | |
| #define | VMXNET3_QUEUES_ALIGN 128 |
| Alignment of queue descriptor set. More... | |
| #define | VMXNET3_RING_ALIGN 512 |
| Alignment of rings. More... | |
| #define | VMXNET3_NUM_TX_DESC 32 |
| Number of TX descriptors. More... | |
| #define | VMXNET3_NUM_TX_COMP 32 |
| Number of TX completion descriptors. More... | |
| #define | VMXNET3_NUM_RX_DESC 32 |
| Number of RX descriptors. More... | |
| #define | VMXNET3_NUM_RX_COMP 32 |
| Number of RX completion descriptors. More... | |
| #define | VMXNET3_DMA_ALIGN 512 |
| DMA area alignment. More... | |
| #define | VMXNET3_VERSION_SELECT 1 |
| vmxnet3 version that we support More... | |
| #define | VMXNET3_UPT_VERSION_SELECT 1 |
| UPT version that we support. More... | |
| #define | VMXNET3_MTU ( ETH_FRAME_LEN + 4 /* VLAN */ + 4 /* FCS */ ) |
| MTU size. More... | |
| #define | VMXNET3_TX_FILL ( VMXNET3_NUM_TX_DESC - 1 ) |
| Transmit ring maximum fill level. More... | |
| #define | VMXNET3_RX_FILL 8 |
| Receive ring maximum fill level. More... | |
| #define | NET_IP_ALIGN 2 |
| Received packet alignment padding. More... | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
VMware vmxnet3 virtual NIC driver.
Definition in file vmxnet3.h.
| #define VMXNET3_MAX_TX_QUEUES 8 |
| #define VMXNET3_MAX_RX_QUEUES 16 |
| #define VMXNET3_PT_BAR PCI_BASE_ADDRESS_0 |
| #define VMXNET3_PT_RXPROD 0x800 |
| #define VMXNET3_PT_RXPROD2 0xa00 |
| #define VMXNET3_VD_BAR PCI_BASE_ADDRESS_1 |
| #define VMXNET3_VD_VRRS 0x0 |
| #define VMXNET3_VERSION_MAGIC 0x69505845 |
| #define VMXNET3_IC_DISABLE_ALL 0x1 |
| #define VMXNET3_SHARED_ALIGN 8 |
| #define VMXNET3_SHARED_MAGIC 0xbabefee1 |
| #define VMXNET3_TXF_GEN 0x00004000UL |
| #define VMXNET3_TXF_EOP 0x000001000UL |
| #define VMXNET3_TXF_CQ 0x000002000UL |
| #define VMXNET3_TXCF_GEN 0x80000000UL |
| #define VMXNET3_RXF_GEN 0x80000000UL |
| #define VMXNET3_RXCF_GEN 0x80000000UL |
| #define VMXNET3_QUEUES_ALIGN 128 |
| #define VMXNET3_NUM_TX_COMP 32 |
| #define VMXNET3_NUM_RX_COMP 32 |
| #define VMXNET3_VERSION_SELECT 1 |
| #define VMXNET3_UPT_VERSION_SELECT 1 |
| #define VMXNET3_MTU ( ETH_FRAME_LEN + 4 /* VLAN */ + 4 /* FCS */ ) |
| #define VMXNET3_TX_FILL ( VMXNET3_NUM_TX_DESC - 1 ) |
| #define VMXNET3_RX_FILL 8 |
| enum vmxnet3_command |
Commands.
Definition at line 102 of file vmxnet3.h.
| enum vmxnet3_event |
Events.
| Enumerator | |
|---|---|
| VMXNET3_ECR_RQERR | |
| VMXNET3_ECR_TQERR | |
| VMXNET3_ECR_LINK | |
| VMXNET3_ECR_DIC | |
| VMXNET3_ECR_DEBUG | |
Definition at line 129 of file vmxnet3.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
1.8.15