Skip to content

hub-based networking patchset

[email protected] qemu-devel 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest17 patches 13 repliesIn review
  2. v517 patches 2 repliesSuperseded
  3. v416 patches 13 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v316 patches36 repliesSuperseded
v215 patches24 repliesSuperseded
v112 patches6 repliesSuperseded

Changes in v6 from the cover letter

1.) cleanup VLANState in other targets files [anthony]

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17net: Add a hub net clientnet.h net/Makefile.objs net/hub.c +1 more+227 -10 replies
2/17net: Use hubs for the vlan featurenet.c net/dump.c net/dump.h +9 more+80 -650 replies
3/17net: Look up 'vlan' net clients using hubsnet.c net/hub.c net/hub.h +1 more+30 -290 replies
4/17hub: Check that hubs are configured correctlynet.c net/hub.c net/hub.h+47 -240 replies
5/17net: Drop vlan argument to qemu_new_net_client()net.c net.h net/dump.c +6 more+18 -260 replies
6/17net: Remove vlan qdev propertyhw/qdev-properties.c hw/qdev.c hw/qdev.h +1 more+0 -810 replies
7/17net: Remove vlan code from net.chw/xen_nic.c net.c net.h+0 -1100 replies
8/17net: Remove VLANStatehw/dp8393x.c hw/exynos4_boards.c hw/highbank.c +13 more+37 -1310 replies
9/17net: Rename non_vlan_clients to net_clientsnet.c+10 -100 replies
10/17net: Rename VLANClientState to NetClientStatehw/cadence_gem.c hw/dp8393x.c hw/e1000.c +47 more+270 -2710 replies
11/17net: Rename vc local variables to nchw/ne2000.h hw/vhost_net.c net.c +3 more+136 -1360 replies
12/17net: Rename qemu_del_vlan_client() to qemu_del_net_client()hw/e1000.c hw/eepro100.c hw/ne2000.c +8 more+20 -200 replies
13/17net: Make "info network" output more readable infonet.c net.h net/hub.c +1 more+32 -70 replies
14/17net: cleanup deliver/deliver_iov func pointersnet.c net.h net/queue.c +1 more+28 -480 replies
15/17net: determine if packets can be sent before net queue deliver packetsnet/queue.c net/slirp.c slirp/if.c +1 more+4 -170 replies
16/17hub: add the support for hub own flow controlnet/hub.c+24 -30 replies
17/17net: roll back qdev_prop_vlanhw/qdev-properties.c hw/qdev.h net.h +2 more+107 -00 replies

Reviews trailers per patch

3 of 17 patches have a Reviewed-by or Acked-by.

PatchJan KiszkaPaolo Bonzini
1/17
2/17
3/17
4/17
5/17
6/17
7/17
8/17
9/17
10/17
11/17
12/17
13/17R-b
14/17R-b
15/17R-b
16/17Reviewed-off-by
17/17

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [Qemu-devel] [PATCH v6 00/17] hub-based networking patchset

From: Zhi Yong Wu <[email protected]>

All comments have been addressed and stefan has completed one more reviewing.

For this patchset, my git repo:

[email protected]:wuzhy/qemu.git for-anthony

Changelog from v5:
1.) cleanup VLANState in other targets files [anthony]

v5:
1.) roll back qdev_prop_vlan [stefanha]

v4:
1.) refactor hub own flow control [paolo]
2.) refactor the output for monitor command "info network" [jan kiszka]

v3:
1.) add the support for hub own flow control [paolo] 2.) make the monitor output more reasonable hub info [jan kiszka]

v2:
1.) cleanup some obsolete vlan info
2.) cleanup deliver/deliver_iov func pointers [paolo] 3.) support more flexible flow control [paolo]

Stefan Hajnoczi (12):
net: Add a hub net client
net: Use hubs for the vlan feature
net: Look up 'vlan' net clients using hubs
hub: Check that hubs are configured correctly
net: Drop vlan argument to qemu_new_net_client()
net: Remove vlan qdev property
net: Remove vlan code from net.c
net: Remove VLANState
net: Rename non_vlan_clients to net_clients
net: Rename VLANClientState to NetClientState
net: Rename vc local variables to nc
net: Rename qemu_del_vlan_client() to qemu_del_net_client()

Zhi Yong Wu (5):
net: Make "info network" output more readable info
net: cleanup deliver/deliver_iov func pointers
net: determine if packets can be sent before net queue deliver
packets
hub: add the support for hub own flow control
net: roll back qdev_prop_vlan

 hw/cadence_gem.c        |    8 +-
 hw/dp8393x.c            |    7 +-
 hw/e1000.c              |   10 +-
 hw/eepro100.c           |    8 +-
 hw/etraxfs_eth.c        |    8 +-
 hw/exynos4_boards.c     |    2 +-
 hw/highbank.c           |    2 +-
 hw/integratorcp.c       |    2 +-
 hw/lan9118.c            |    8 +-
 hw/lance.c              |    2 +-
 hw/mcf5208.c            |    2 +-
 hw/mcf_fec.c            |    7 +-
 hw/milkymist-minimac2.c |    6 +-
 hw/mips_mipssim.c       |    2 +-
 hw/mips_r4k.c           |    2 +-
 hw/mipsnet.c            |    6 +-
 hw/musicpal.c           |    6 +-
 hw/ne2000-isa.c         |    2 +-
 hw/ne2000.c             |    8 +-
 hw/ne2000.h             |    4 +-
 hw/opencores_eth.c      |    8 +-
 hw/pcnet-pci.c          |    4 +-
 hw/pcnet.c              |    6 +-
 hw/pcnet.h              |    6 +-
 hw/qdev-properties.c    |   53 +++--
 hw/qdev.c               |    2 -
 hw/qdev.h               |    7 +-
 hw/rtl8139.c            |   10 +-
 hw/smc91c111.c          |    6 +-
 hw/spapr_llan.c         |    4 +-
 hw/stellaris_enet.c     |    6 +-
 hw/usb/dev-network.c    |    8 +-
 hw/vexpress.c           |    2 +-
 hw/vhost_net.c          |   24 +-
 hw/vhost_net.h          |    2 +-
 hw/virtio-net.c         |   12 +-
 hw/xen_nic.c            |    7 +-
 hw/xgmac.c              |    6 +-
 hw/xilinx_axienet.c     |    6 +-
 hw/xilinx_ethlite.c     |    6 +-
 hw/xtensa_lx60.c        |    2 +-
 net.c                   |  593 ++++++++++++++---------------------------------
 net.h                   |   87 ++++----
 net/Makefile.objs       |    2 +-
 net/dump.c              |   27 ++-
 net/dump.h              |    2 +-
 net/hub.c               |  335 ++++++++++++++++++++++++++
 net/hub.h               |   29 +++
 net/queue.c             |   37 ++--
 net/queue.h             |   25 +--
 net/slirp.c             |   32 +--
 net/slirp.h             |    2 +-
 net/socket.c            |   66 +++---
 net/socket.h            |    2 +-
 net/tap-win32.c         |   26 +-
 net/tap.c               |   44 ++--
 net/tap.h               |   20 +-
 net/vde.c               |   16 +-
 net/vde.h               |    2 +-
 qemu-common.h           |    3 +-
 slirp/if.c              |    5 -
 slirp/libslirp.h        |    1 -
 62 files changed, 868 insertions(+), 777 deletions(-)
 create mode 100644 net/hub.c
 create mode 100644 net/hub.h
Signature · 1 line
1.7.6