This class models the Intel® 82543 Gigabit Ethernet Controller. Limitations on all i8254x:- flow control functionality is missing. FCAH, FCT, FCRTH, FCRTL, and FCTTV (bug 1107)
- test mode is missing. FTR0-7, FCR, and TRC. (bug 1108)
- ACPI/Power management is missing. (bug 1109)
- FIFO related diagnostic registers are missing. RDFH, RDFT, TDFH. (bug 1110)
- config data should be read from eeprom, and not hardcoded. (bug 1111)
- The transmit-interrupt-delay (TIDV) is unimplemented (bug 1125)
- Receive descriptors with NULL data pointers not supported (bug 1623)
conf_object, log_object, pci_device, io_memory, ethernet_common
- cell-change
- Notifier that is triggered after the object's cell was changed.
- object-delete
- Notifier that is triggered just before Simics object is deleted.
- queue-change
- Notifier that is triggered after the object's clock was changed. New clock can be obtained with the SIM_object_clock function.
-
pci_bus
-
Optional attribute;
read/write access; type:
o|n
The PCI bus this device is connected to, implementing the pci-bus interface.
-
interrupt_pin
-
Optional attribute;
read/write access; type:
[iiii]
State of the interrupt pin.
-
config_registers
-
Optional attribute;
read/write access; type:
[i{64}]
The 64 PCI configuration registers, each 32 bits in size.
-
write_masks
-
Optional attribute;
read/write access; type:
[[ii]*]
Write masks for all registered configuration registers. The format for each entry is (offset, mask).
-
mappings
-
Optional attribute;
read/write access; type:
[[i{5:8}]|[iiiiiiiio|nii]*]
List of all current PCI IO and memory mappings.
-
expansion_rom
-
Optional attribute;
read/write access; type:
n|[oii]
ROM object, map size, and map function number for the Expansion ROM.
-
config_register_info
-
Pseudo attribute;
read-only access; type:
[[isii]*]
Register info for all registered configuration registers. The format for each entry is (offset, name, size, write-mask).
-
link
-
Optional attribute;
read/write access; type:
o|n
The Ethernet link that the network device is connected to.
-
model_crc
-
Pseudo attribute;
read/write access; type:
i
Deprecated. Do not use.
-
tx_bandwidth
-
Optional attribute;
read/write access; type:
i
The transmit bandwidth of the network interface in bits per second. The network interface will limit the rate at which it sends packets to remain below this bandwidth. Set to 0 for unlimited bandwidth.
-
tx_next_time
-
Optional attribute;
read/write access; type:
f
The earliest time at which that the network interface may send another packet. Used for transmit bandwidth limitation.
-
network
-
Pseudo attribute;
read/write access; type:
o|n
Obsolete attribute. Use link instead.
-
inject_packet
-
Pseudo attribute;
write-only access; type:
d
Attribute used to send a packet to the network device. Writing this attribute at any time injects a new packet into the device (without involving the network simulation). Injecting a packet copies the packet data, allowing the caller to reuse or dispose of the buffer used for creating the packet, after the attribute is written.
-
add_crc_on_inject
-
Optional attribute;
read/write access; type:
i
Frames injected using the 'inject_packet' will get a correctly calculated CRC added at the end when this attribute is set to 1 (default). When set to 0, the user has to supply a CRC field with the injected frame. Note that you must always provide room for the CRC field, even when this attribute is set to 1.
-
device_id
-
Optional attribute;
read/write access; type:
i
This uniquely identifies the Ethernet controller.
-
subsystem_id
-
Optional attribute;
read/write access; type:
i
Subsystem ID.
-
subsystem_vendor_id
-
Optional attribute;
read/write access; type:
i
Subsystem vendor ID.
-
phy_device
-
Optional attribute;
read/write access; type:
o
IEEE 802.3 physical device (exporting the MII interface).
-
gbic_device
-
Pseudo attribute;
read/write access; type:
o|n
Unused.
-
eeprom
-
Required attribute;
read/write access; type:
o
Serial 4-wire EEPROM.
-
interrupt
-
Optional attribute;
read/write access; type:
i
Set to 1 when an interrupt is pending.
-
media_type
-
Optional attribute;
read/write access; type:
s
Media type ("copper" or "fiber").
-
memory
-
Optional attribute;
read/write access; type:
d
Contents of mapped memory (including register set).
-
receive_fifo
-
Optional attribute;
read/write access; type:
[[id]*]
Receive FIFO contents.
-
ICR
-
Pseudo attribute;
read/write access; type:
i
Interrupt Cause Read
-
TDT
-
Pseudo attribute;
read/write access; type:
i
TX Descriptor Tail
-
CTRL
-
Pseudo attribute;
read/write access; type:
i
Device Control
-
STATUS
-
Pseudo attribute;
read/write access; type:
i
Device Status
-
EECD
-
Pseudo attribute;
read/write access; type:
i
EEPROM/Flash Control
-
EERD
-
Pseudo attribute;
read/write access; type:
i
EEPROM Read
-
CTRL_EXT
-
Pseudo attribute;
read/write access; type:
i
Extended Device Control
-
FLA
-
Pseudo attribute;
read/write access; type:
i
Flash Access
-
MDIC
-
Pseudo attribute;
read/write access; type:
i
MDI Control
-
FCAL
-
Pseudo attribute;
read/write access; type:
i
Flow Control Address Low
-
FCAH
-
Pseudo attribute;
read/write access; type:
i
Flow Control Address High
-
FCT
-
Pseudo attribute;
read/write access; type:
i
Flow Control Type
-
VET
-
Pseudo attribute;
read/write access; type:
i
VLAN Ether Type
-
ITR
-
Pseudo attribute;
read/write access; type:
i
Interrupt Throttling Rate
-
ICS
-
Pseudo attribute;
read/write access; type:
i
Interrupt Cause Set
-
IMS
-
Pseudo attribute;
read/write access; type:
i
Interrupt Mask Set
-
IMC
-
Pseudo attribute;
read/write access; type:
i
Interrupt Mask Clear
-
RCTL
-
Pseudo attribute;
read/write access; type:
i
RX Control
-
FCTTV
-
Pseudo attribute;
read/write access; type:
i
Flow Control Transmit Timer Value
-
TXCW
-
Pseudo attribute;
read/write access; type:
i
TX Configuration Word
-
RXCW
-
Pseudo attribute;
read/write access; type:
i
RX Configuration Word
-
TCTL
-
Pseudo attribute;
read/write access; type:
i
TX Control
-
TIPG
-
Pseudo attribute;
read/write access; type:
i
TX Inter-packet gap
-
TBT
-
Pseudo attribute;
read/write access; type:
i
TX Burst Timer
-
AIT
-
Pseudo attribute;
read/write access; type:
i
Adaptive Interframe Spacing Throttle
-
LEDCTL
-
Pseudo attribute;
read/write access; type:
i
LED Control
-
PBA
-
Pseudo attribute;
read/write access; type:
i
Packet Buffer Allocation
-
FCRTL
-
Pseudo attribute;
read/write access; type:
i
Flow Control Receive Threshold Low
-
FCRTH
-
Pseudo attribute;
read/write access; type:
i
Flow Control Receive Threshold High
-
RDBAL
-
Pseudo attribute;
read/write access; type:
i
RX Descriptor Base Address Low
-
RDBAH
-
Pseudo attribute;
read/write access; type:
i
RX Descriptor Base Address High
-
RDLEN
-
Pseudo attribute;
read/write access; type:
i
RX Descriptor Length
-
RDH
-
Pseudo attribute;
read/write access; type:
i
RX Descriptor Head
-
RDT
-
Pseudo attribute;
read/write access; type:
i
RX Descriptor Tail
-
RDTR
-
Pseudo attribute;
read/write access; type:
i
RX Delay Timer
-
RXDCTL
-
Pseudo attribute;
read/write access; type:
i
RX Descriptor Control
-
RADV
-
Pseudo attribute;
read/write access; type:
i
RX Interrupt Absolute Delay Timer
-
RSRPD
-
Pseudo attribute;
read/write access; type:
i
RX Small Packet Detect
-
TXDMAC
-
Pseudo attribute;
read/write access; type:
i
TX DMA Control
-
TDFH
-
Pseudo attribute;
read/write access; type:
i
TX Data FIFO Head
-
TDFT
-
Pseudo attribute;
read/write access; type:
i
TX Data FIFO Tail
-
TDFHS
-
Pseudo attribute;
read/write access; type:
i
TX Data FIFO Head Saved
-
TDFTS
-
Pseudo attribute;
read/write access; type:
i
TX Data FIFO Tail Saved
-
TDFPC
-
Pseudo attribute;
read/write access; type:
i
TX Data FIFO Packet Count
-
TDBAL
-
Pseudo attribute;
read/write access; type:
i
TX Descriptor Base Address Low
-
TDBAH
-
Pseudo attribute;
read/write access; type:
i
TX Descriptor Base Address High
-
TDLEN
-
Pseudo attribute;
read/write access; type:
i
TX Descriptor Length
-
TDH
-
Pseudo attribute;
read/write access; type:
i
TX Descriptor Head
-
TIDV
-
Pseudo attribute;
read/write access; type:
i
TX Interrupt Delay Value
-
TXDCTL
-
Pseudo attribute;
read/write access; type:
i
TX Descriptor Control
-
TADV
-
Pseudo attribute;
read/write access; type:
i
TX Interrupt Absolute Delay Val
-
TSPMT
-
Pseudo attribute;
read/write access; type:
i
TCP Segmentation PAD and Min Threshold
-
CRCERRS
-
Pseudo attribute;
read/write access; type:
i
CRC Error Count
-
ALGNERRC
-
Pseudo attribute;
read/write access; type:
i
Alignment Error Count
-
SYMERRS
-
Pseudo attribute;
read/write access; type:
i
Symbol Error Count
-
RXERRC
-
Pseudo attribute;
read/write access; type:
i
Receive Error Count
-
MPC
-
Pseudo attribute;
read/write access; type:
i
Missed Packet Count
-
SCC
-
Pseudo attribute;
read/write access; type:
i
Single Collision Count
-
ECOL
-
Pseudo attribute;
read/write access; type:
i
Excessive Collision Count
-
MCC
-
Pseudo attribute;
read/write access; type:
i
Multiple Collision Count
-
LATECOL
-
Pseudo attribute;
read/write access; type:
i
Late Collision Count
-
COLC
-
Pseudo attribute;
read/write access; type:
i
Collision Count
-
DC
-
Pseudo attribute;
read/write access; type:
i
Defer Count
-
TNCRS
-
Pseudo attribute;
read/write access; type:
i
TX-No CRS
-
SEC
-
Pseudo attribute;
read/write access; type:
i
Sequence Error Count
-
CEXTERR
-
Pseudo attribute;
read/write access; type:
i
Carrier Extension Error Count
-
RLEC
-
Pseudo attribute;
read/write access; type:
i
Receive Length Error Count
-
XONRXC
-
Pseudo attribute;
read/write access; type:
i
XON RX Count
-
XONTXC
-
Pseudo attribute;
read/write access; type:
i
XON TX Count
-
XOFFRXC
-
Pseudo attribute;
read/write access; type:
i
XOFF RX Count
-
XOFFTXC
-
Pseudo attribute;
read/write access; type:
i
XOFF TX Count
-
FCRUC
-
Pseudo attribute;
read/write access; type:
i
Flow Control RX Unsupported Count
-
PRC64
-
Pseudo attribute;
read/write access; type:
i
Packets RX (64 bytes)
-
PRC127
-
Pseudo attribute;
read/write access; type:
i
Packets RX (65-127 bytes)
-
PRC255
-
Pseudo attribute;
read/write access; type:
i
Packets RX (128-255 bytes)
-
PRC511
-
Pseudo attribute;
read/write access; type:
i
Packets RX (255-511 bytes)
-
PRC1023
-
Pseudo attribute;
read/write access; type:
i
Packets RX (512-1023 bytes)
-
PRC1522
-
Pseudo attribute;
read/write access; type:
i
Packets RX (1024-1522 bytes)
-
GPRC
-
Pseudo attribute;
read/write access; type:
i
Good Packets RX Count
-
BPRC
-
Pseudo attribute;
read/write access; type:
i
Broadcast Packets RX Count
-
MPRC
-
Pseudo attribute;
read/write access; type:
i
Multicast Packets RX Count
-
GPTC
-
Pseudo attribute;
read/write access; type:
i
Good Packets TX Count
-
GORCL
-
Pseudo attribute;
read/write access; type:
i
Good Octets RX Count Low
-
GORCH
-
Pseudo attribute;
read/write access; type:
i
Good Octets RX Count High
-
GOTCL
-
Pseudo attribute;
read/write access; type:
i
Good Octets TX Count Low
-
GOTCH
-
Pseudo attribute;
read/write access; type:
i
Good Octets TX Count High
-
RNBC
-
Pseudo attribute;
read/write access; type:
i
RX No Buffers Count
-
RUC
-
Pseudo attribute;
read/write access; type:
i
RX Undersize Count
-
RFC
-
Pseudo attribute;
read/write access; type:
i
RX Fragment Count
-
ROC
-
Pseudo attribute;
read/write access; type:
i
RX Oversize Count
-
RJC
-
Pseudo attribute;
read/write access; type:
i
RX Jabber Count
-
MGTPRC
-
Pseudo attribute;
read/write access; type:
i
Management Packets RX Count
-
MGTPDC
-
Pseudo attribute;
read/write access; type:
i
Management Packets Dropped Count
-
MGTPTC
-
Pseudo attribute;
read/write access; type:
i
Management Packets TX Count
-
TORL
-
Pseudo attribute;
read/write access; type:
i
Total Octets RX Low
-
TORH
-
Pseudo attribute;
read/write access; type:
i
Total Octets RX High
-
TOTL
-
Pseudo attribute;
read/write access; type:
i
Total Octets TX Low
-
TOTH
-
Pseudo attribute;
read/write access; type:
i
Total Octets TX High
-
TPR
-
Pseudo attribute;
read/write access; type:
i
Total Packets RX
-
TPT
-
Pseudo attribute;
read/write access; type:
i
Total Packets TX
-
PTC64
-
Pseudo attribute;
read/write access; type:
i
Packets TX (64 bytes)
-
PTC127
-
Pseudo attribute;
read/write access; type:
i
Packets TX (65-127 bytes)
-
PTC255
-
Pseudo attribute;
read/write access; type:
i
Packets TX (128-255 bytes)
-
PTC511
-
Pseudo attribute;
read/write access; type:
i
Packets TX (256-511 bytes)
-
PTC1023
-
Pseudo attribute;
read/write access; type:
i
Packets TX (512-1023 bytes)
-
PTC1522
-
Pseudo attribute;
read/write access; type:
i
Packets TX (1024-1522 Bytes)
-
MPTC
-
Pseudo attribute;
read/write access; type:
i
Multicast Packets TX Count
-
BPTC
-
Pseudo attribute;
read/write access; type:
i
Broadcast Packets TX Count
-
TSCTC
-
Pseudo attribute;
read/write access; type:
i
TCP Segmentation Context TX
-
TSCTFC
-
Pseudo attribute;
read/write access; type:
i
TCP Segmentation Context TX Fail
-
RXCSUM
-
Pseudo attribute;
read/write access; type:
i
RX Checksum Control
-
MTA
-
Pseudo attribute;
read/write access; type:
i
Multicast Table Array
-
RA
-
Pseudo attribute;
read/write access; type:
i
Receive Address
-
VFTA
-
Pseudo attribute;
read/write access; type:
i
VLAN Filter Table Array
-
WUC
-
Pseudo attribute;
read/write access; type:
i
Wakeup Control
-
WUFC
-
Pseudo attribute;
read/write access; type:
i
Wakeup Filter Control
-
WUS
-
Pseudo attribute;
read/write access; type:
i
Wakeup Status
-
MANC
-
Pseudo attribute;
read/write access; type:
i
Management Control
-
IPAV
-
Pseudo attribute;
read/write access; type:
i
IP Address Valid
-
IP4AT
-
Pseudo attribute;
read/write access; type:
i
IPv4 Address Table
-
IP6AT
-
Pseudo attribute;
read/write access; type:
i
IPv6 Address Table
-
WUPL
-
Pseudo attribute;
read/write access; type:
i
Wakeup Packet Length
-
WUPM
-
Pseudo attribute;
read/write access; type:
i
Wakeup Packet Memory
-
FFLT
-
Pseudo attribute;
read/write access; type:
i
Flexible Filter Length Table
-
FFMT
-
Pseudo attribute;
read/write access; type:
i
Flexible Filter Mask Table
-
FFVT
-
Pseudo attribute;
read/write access; type:
i
Flexible Filter Value Table
-
receive_address_array
-
Pseudo attribute;
read-only access; type:
[s*]
Receive address array.
-
debug_statistics
-
Pseudo attribute;
read/write access; type:
[ii]
Number of packets received and transmitted. Setting the attribute will clear all counters.
-
txd_context
-
Optional attribute;
read/write access; type:
[ii]
On chip TCP/IP transmit context.
-
stat_packets_rx
-
Pseudo attribute;
read/write access; type:
i
Number of packets received.
-
stat_packets_tx
-
Pseudo attribute;
read/write access; type:
i
Number of packets transmitted.
i82543