qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/9] introduce virtio net dataplane


From: Liu Ping Fan
Subject: [Qemu-devel] [PATCH 0/9] introduce virtio net dataplane
Date: Thu, 21 Feb 2013 20:54:44 +0800

This is a emulation to virtio-blk dataplane, which push the data
handling out of biglock. And it is a try to implement this process
in userspace, while vhost-net in kernel.

The iperf's result show it improving the perfermance of base line,
but still slower than vhost-net (maybe the rx path need optimized).

Todo:
implement fine lock for net-subsystem

Liu Ping Fan (9):
  vring: split the modification and publish of used ring
  vring: introduce vring_restore() to restore from img
  event poll: make epoll work for normal fd
  event poll: pass event type to event callback
  event poll: enable event poll handle more than one event each time
  virtio net: introduce dataplane for virtio net
  tap: make tap peer work on dedicated data-plane thread
  virtio net: enable dataplane for virtio net
  configure: make virtio net dataplane configurable

 configure                  |   12 ++
 hw/dataplane/Makefile.objs |    4 +-
 hw/dataplane/event-poll.c  |   69 +++++--
 hw/dataplane/event-poll.h  |   14 ++-
 hw/dataplane/virtio-blk.c  |    8 +-
 hw/dataplane/virtio-net.c  |  444 ++++++++++++++++++++++++++++++++++++++++++++
 hw/dataplane/virtio-net.h  |   32 ++++
 hw/dataplane/vring.c       |   37 ++++
 hw/dataplane/vring.h       |    3 +
 hw/virtio-net.c            |   94 +++++-----
 hw/virtio-net.h            |   64 +++++++
 hw/virtio-pci.c            |    2 +-
 include/net/tap.h          |    6 +
 net/tap.c                  |   92 +++++++++-
 14 files changed, 806 insertions(+), 75 deletions(-)
 create mode 100644 hw/dataplane/virtio-net.c
 create mode 100644 hw/dataplane/virtio-net.h

-- 
1.7.4.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]