qemu-patch-raspberry4/hw/net
Vincenzo Maffione e9845f0985 e1000: add interrupt mitigation support
This patch partially implements the e1000 interrupt mitigation mechanisms.
Using a single QEMUTimer, it emulates the ITR register (which is the newer
mitigation register, recommended by Intel) and approximately emulates
RADV and TADV registers. TIDV and RDTR register functionalities are not
emulated (RDTR is only used to validate RADV, according to the e1000 specs).

RADV, TADV, TIDV and RDTR registers make up the older e1000 mitigation
mechanism and would need a timer each to be completely emulated. However,
a single timer has been used in order to reach a good compromise between
emulation accuracy and simplicity/efficiency.

The implemented mechanism can be enabled/disabled specifying the command
line e1000-specific boolean parameter "mitigation", e.g.

    qemu-system-x86_64 -device e1000,mitigation=on,... ...

For more information, see the Software developer's manual at
http://download.intel.com/design/network/manuals/8254x_GBe_SDM.pdf.

Interrupt mitigation boosts performance when the guest suffers from
an high interrupt rate (i.e. receiving short UDP packets at high packet
rate). For some numerical results see the following link
http://info.iet.unipi.it/~luigi/papers/20130520-rizzo-vm.pdf

Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com>
Reviewed-by: Andreas Färber <afaerber@suse.de> (for pc-* machines)
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-09-06 17:25:52 +02:00
..
cadence_gem.c cadence_gem: QOM cast cleanup 2013-07-29 21:06:59 +02:00
dp8393x.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
e1000.c e1000: add interrupt mitigation support 2013-09-06 17:25:52 +02:00
e1000_regs.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
eepro100.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
etraxfs_eth.c etraxfs_eth: Rename fs_eth to ETRAXFSEthState 2013-07-29 21:06:59 +02:00
lan9118.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
lance.c lance: QOM cast cleanup 2013-07-29 21:06:59 +02:00
Makefile.objs hw: move NICs to hw/net/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
mcf_fec.c memory: add owner argument to initialization functions 2013-07-04 17:42:44 +02:00
milkymist-minimac2.c milkymist-minimac2: QOM cast cleanup 2013-07-29 21:06:59 +02:00
mipsnet.c mipsnet: QOM cast cleanup 2013-07-29 21:07:02 +02:00
ne2000-isa.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
ne2000.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
ne2000.h ne2000: pass device to ne2000_setup_io, use it as owner 2013-07-04 17:42:46 +02:00
opencores_eth.c opencores_eth: QOM cast cleanup 2013-07-29 21:07:02 +02:00
pcnet-pci.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
pcnet.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
pcnet.h hw: move private headers to hw/ subdirectories. 2013-04-08 18:13:16 +02:00
rtl8139.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
smc91c111.c smc91c111: QOM cast cleanup 2013-07-29 21:06:59 +02:00
spapr_llan.c spapr: Rename 'dprintf' to 'DPRINTF' 2013-07-29 19:56:46 -05:00
stellaris_enet.c stellaris_enet: Fix NetClientInfo::cleanup 2013-07-29 21:06:59 +02:00
vhost_net.c virtio: remove virtiobindings. 2013-04-24 11:50:20 -05:00
virtio-net.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
vmware_utils.h
vmxnet3.c devices: Associate devices to their logical category 2013-07-29 10:37:09 -05:00
vmxnet3.h Merge remote-tracking branch 'bonzini/hw-dirs' into staging 2013-04-08 13:12:33 -05:00
vmxnet_debug.h
vmxnet_rx_pkt.c
vmxnet_rx_pkt.h
vmxnet_tx_pkt.c misc: Use g_assert_not_reached for code which is expected to be unreachable 2013-07-27 11:22:54 +04:00
vmxnet_tx_pkt.h
xen_nic.c
xgmac.c xgmac: QOM cast cleanup 2013-07-29 21:07:00 +02:00
xilinx_axienet.c qom: Pass available size to object_initialize() 2013-08-30 21:15:44 +02:00
xilinx_ethlite.c xilinx_ethlite: QOM cast cleanup 2013-07-29 21:07:00 +02:00