Statistics
| Branch: | Revision:

root / hw / net @ c1a1af87

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.7 kB
lan9118.c 39.2 kB
lance.c 5.1 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
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...
a03f7429 12/10/2013 03:28 pm Peter Crosthwaite

net/cadence_gem: Implement SAR match bit in rx desc

Bit 27 of the RX buffer desc word 1 should be set when the packet was
accepted due to specific address register match. Implement.

This feature is absent from the Xilinx documentation (UG585) but the
behaviour is tested as accurate on real hardware....

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