qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/5] FTGMAC100 nic model for the Aspeed SoCs
@ 2017-04-13  9:41 Cédric Le Goater
  2017-04-13  9:41 ` [Qemu-devel] [PATCH v2 1/5] hw/net: add MII definitions Cédric Le Goater
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Cédric Le Goater @ 2017-04-13  9:41 UTC (permalink / raw)
  To: Peter Maydell
  Cc: Jason Wang, Dmitry Fleytman, Samuel Thibault, Jan Kiszka,
	qemu-devel, qemu-arm, Cédric Le Goater

Hi,

The Aspeed SoCs AST2400 and AST2500 have two FTGMAC100 ethernet
controllers. This serie proposes a model for this device and a way to
customize the bit definitions which are slightly different from the
Faraday definitions.

The last patch adds a fake NC-SI (Network Controller Sideband
Interface) backend to pretend a NIC is being managed. This is only
usable with the slirp stack.

The model has been tested on the 'palmetto', 'romulus' and
'ast2500-evb' machines using different implementations of the Linux
driver and with U-Boot.  It has been stressed with iperf.

Thanks,

C. 

Cédric Le Goater (5):
  hw/net: add MII definitions
  net: add FTGMAC100 support
  net/ftgmac100: add a 'aspeed' property
  aspeed: add a FTGMAC100 nic
  slirp: add a fake NC-SI backend

 default-configs/arm-softmmu.mak |    1 +
 hw/arm/aspeed_soc.c             |   21 +
 hw/net/Makefile.objs            |    1 +
 hw/net/ftgmac100.c              | 1016 +++++++++++++++++++++++++++++++++++++++
 include/hw/arm/aspeed_soc.h     |    2 +
 include/hw/net/ftgmac100.h      |   64 +++
 include/hw/net/mii.h            |   71 ++-
 include/net/eth.h               |    1 +
 slirp/Makefile.objs             |    2 +-
 slirp/ncsi-pkt.h                |  418 ++++++++++++++++
 slirp/ncsi.c                    |   78 +++
 slirp/slirp.c                   |    4 +
 slirp/slirp.h                   |    3 +
 13 files changed, 1663 insertions(+), 19 deletions(-)
 create mode 100644 hw/net/ftgmac100.c
 create mode 100644 include/hw/net/ftgmac100.h
 create mode 100644 slirp/ncsi-pkt.h
 create mode 100644 slirp/ncsi.c

-- 
2.7.4

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-04-14  6:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-13  9:41 [Qemu-devel] [PATCH v2 0/5] FTGMAC100 nic model for the Aspeed SoCs Cédric Le Goater
2017-04-13  9:41 ` [Qemu-devel] [PATCH v2 1/5] hw/net: add MII definitions Cédric Le Goater
2017-04-13 11:36   ` [Qemu-devel] [Qemu-arm] " Philippe Mathieu-Daudé
2017-04-13  9:41 ` [Qemu-devel] [PATCH v2 2/5] net: add FTGMAC100 support Cédric Le Goater
2017-04-13  9:41 ` [Qemu-devel] [PATCH v2 3/5] net/ftgmac100: add a 'aspeed' property Cédric Le Goater
2017-04-13  9:41 ` [Qemu-devel] [PATCH v2 4/5] aspeed: add a FTGMAC100 nic Cédric Le Goater
2017-04-13  9:41 ` [Qemu-devel] [PATCH v2 5/5] slirp: add a fake NC-SI backend Cédric Le Goater
2017-04-13 11:45   ` Philippe Mathieu-Daudé
2017-04-13 14:08     ` Samuel Thibault
2017-04-13 17:27       ` Cédric Le Goater
2017-04-13 16:08     ` Cédric Le Goater
2017-04-14  6:26 ` [Qemu-devel] [PATCH v2 0/5] FTGMAC100 nic model for the Aspeed SoCs Jason Wang
2017-04-14  6:45   ` Cédric Le Goater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).