Public Member Functions |
bool | receive (MessagePciConfig &msg) |
uint32 | MSIX_read (uint32 offset) |
uint32 | MSIX_write (uint32 offset, uint32 val) |
bool | receive (MessageMem &msg) |
bool | receive (MessageNetwork &msg) |
void | reprogram_timer () |
bool | receive (MessageMemRegion &msg) |
bool | receive (MessageTimeout &msg) |
void | device_reset () |
bool | receive (MessageLegacy &msg) |
| Model82576vf (uint64 mac, DBus< MessageNetwork > &net, DBus< MessageMem > *bus_mem, DBus< MessageMemRegion > *bus_memregion, Clock *clock, DBus< MessageTimer > &timer, uint32 mem_mmio, uint32 mem_msix, unsigned txpoll_us, bool map_rx, unsigned bdf, bool promisc_default) |
| StaticReceiver () |
void | debug_dump () |
| Device (const char *debug_name) |
Member Enumeration Documentation
- Enumerator:
VF_RESET |
|
VF_SET_MAC_ADDR |
|
VF_SET_MULTICAST |
|
VF_SET_LPE |
|
VF_SET_PROMISC |
|
VF_SET_PROMISC_UNICAST |
|
CMD_ACK |
|
CMD_NACK |
|
CTS |
|
Constructor & Destructor Documentation
Model82576vf::Model82576vf |
( |
uint64 |
mac, |
|
|
DBus< MessageNetwork > & |
net, |
|
|
DBus< MessageMem > * |
bus_mem, |
|
|
DBus< MessageMemRegion > * |
bus_memregion, |
|
|
Clock * |
clock, |
|
|
DBus< MessageTimer > & |
timer, |
|
|
uint32 |
mem_mmio, |
|
|
uint32 |
mem_msix, |
|
|
unsigned |
txpoll_us, |
|
|
bool |
map_rx, |
|
|
unsigned |
bdf, |
|
|
bool |
promisc_default |
|
) |
| |
|
inline |
Member Function Documentation
void Model82576vf::device_reset |
( |
| ) |
|
|
inline |
void* Model82576vf::guestmem |
( |
uint64 |
addr | ) |
|
|
inlineprivate |
void Model82576vf::MISC_irq |
( |
| ) |
|
|
inlineprivate |
Generate a mailbox/misc IRQ.
void Model82576vf::MSIX_irq |
( |
unsigned |
nr | ) |
|
|
inlineprivate |
void Model82576vf::reprogram_timer |
( |
| ) |
|
|
inline |
void Model82576vf::RX_irq |
( |
unsigned |
nr | ) |
|
|
inlineprivate |
void Model82576vf::TX_irq |
( |
unsigned |
nr | ) |
|
|
inlineprivate |
uint32 Model82576vf::VTFRTIMER_compute |
( |
| ) |
|
|
inlineprivate |
Member Data Documentation
unsigned Model82576vf::_bdf |
|
private |
Clock* Model82576vf::_clock |
|
private |
uint32* Model82576vf::_local_rx_regs |
|
private |
uint32* Model82576vf::_local_tx_regs |
|
private |
bool Model82576vf::_map_rx |
|
private |
uint32 Model82576vf::_mem_mmio |
|
private |
uint32 Model82576vf::_mem_msix |
|
private |
union { ... } Model82576vf::_msix |
bool Model82576vf::_promisc |
|
private |
const bool Model82576vf::_promisc_default |
|
private |
unsigned Model82576vf::_timer_nr |
|
private |
unsigned Model82576vf::_txpoll_us |
|
private |
uint32 Model82576vf::raw[3 *4] |
struct { ... } ::msix_table Model82576vf::table[3] |
uint32 Model82576vf::vector_control |
The documentation for this class was generated from the following file: