Statistics
| Branch: | Revision:

root / hw / net @ 1b111dc1

Name Size
Makefile.objs 1.2 kB
cadence_gem.c 41.9 kB
dp8393x.c 26.4 kB
e1000.c 50.1 kB
e1000_regs.h 49.6 kB
eepro100.c 69.2 kB
etraxfs_eth.c 16.8 kB
lan9118.c 39.2 kB
lance.c 5.2 kB
mcf_fec.c 12.3 kB
milkymist-minimac2.c 14 kB
mipsnet.c 7.4 kB
ne2000-isa.c 3.6 kB
ne2000.c 22.8 kB
ne2000.h 1 kB
opencores_eth.c 18.9 kB
pcnet-pci.c 11.2 kB
pcnet.c 54.6 kB
pcnet.h 2.1 kB
rtl8139.c 102 kB
smc91c111.c 22.2 kB
spapr_llan.c 16.8 kB
stellaris_enet.c 13.1 kB
vhost_net.c 8.4 kB
virtio-net.c 48.2 kB
vmware_utils.h 3.5 kB
vmxnet3.c 72.2 kB
vmxnet3.h 23.8 kB
vmxnet_debug.h 4.3 kB
vmxnet_rx_pkt.c 4.1 kB
vmxnet_rx_pkt.h 3.8 kB
vmxnet_tx_pkt.c 15.9 kB
vmxnet_tx_pkt.h 3.2 kB
xen_nic.c 13.8 kB
xgmac.c 14.6 kB
xilinx_axienet.c 28 kB
xilinx_ethlite.c 7.7 kB

Latest revisions

# Date Author Comment
1b111dc1 12/24/2013 06:27 pm Markus Armbruster

hw: cannot_instantiate_with_device_add_yet due to pointer props

Pointer properties can be set only by code, not by device_add. A
device with a pointer property can work with device_add only when the
property may remain null.

This is the case for property "interrupt_vector" of device...

e157b8fd 12/13/2013 09:10 pm Anthony Liguori

Merge remote-tracking branch 'bonzini/virtio' into staging

  1. By Andreas Färber (18) and Paolo Bonzini (12)
  2. Via Paolo Bonzini
    • bonzini/virtio: (30 commits)
      virtio: Convert exit to unrealize
      virtio: Complete converting VirtioDevice to QOM realize
      virtio-scsi: Convert to QOM realize...
b9aad5d6 12/11/2013 02:14 am Anthony Liguori

Merge remote-tracking branch 'stefanha/net-next' into staging

  1. By Vincenzo Maffione (2) and others
  2. Via Stefan Hajnoczi
    • stefanha/net-next:
      net: Update netdev peer on link change
      virtio-net: don't update mac_table in error state
      MAINTAINERS: Add netmap maintainers...
64eb9301 12/10/2013 03:28 pm Peter Crosthwaite

net/cadence_gem: Implement SAR (de)activation

The Specific address registers can be enabled or disabled by software.
QEMU was assuming they were always enabled. Implement the
disable/enable feature. SARs are disabled by writing to the lower half
register. They are re-enabled by then writing the upper half....

17cf2c76 12/10/2013 03:28 pm Peter Crosthwaite

net/cadence_gem: Add missing VMSTATE_END_OF_LIST

Signed-off-by: Peter Crosthwaite <>
Message-id:
Signed-off-by: Peter Maydell <>

30570698 12/10/2013 03:28 pm Peter Crosthwaite

net/cadence_gem: Fix rx multi-fragment packets

Bytes_to_copy was being updated before its final use where it
advances the rx buffer pointer. This was causing total mayhem,
where packet data for any subsequent fragments was being fetched
from the wrong place....

191946c5 12/10/2013 03:28 pm Peter Crosthwaite

net/cadence_gem: Fix small packet FCS stripping

The minimum packet size is 64, however this is before FCS stripping
occurs. So when FCS stripping the minimum packet size is 60. Fix.

Reported-by: Deepika Dhamija <>
Signed-off-by: Peter Crosthwaite <>...

e2314fda 12/10/2013 03:28 pm Peter Crosthwaite

net/cadence_gem: Fix register w1c logic

This write-1-clear logic was incorrect. It was always clearing w1c
bits regardless of whether the written value was 1 or not. i.e. it
was implementing a write-anything-to-clear strategy.

Signed-off-by: Peter Crosthwaite <>...

3ae5725f 12/10/2013 03:28 pm Peter Crosthwaite

net/cadence_gem: Improve can_receive debug printfery

Currently this just floods indicating that can_receive has been called
by the net framework. Instead, save the result of the most recent
can_receive callback as state and only print a message if the result...

8202aa53 12/10/2013 03:28 pm Peter Crosthwaite

net/cadence_gem: Don't rx packets when no rx buffer available

Return false from can_receive() when no valid buffer descriptor is
available. Ensures against mass packet droppage in some applications.

Signed-off-by: Peter Crosthwaite <>...

View revisions

Also available in: Atom