All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] vhost example based on user space vhost library.
@ 2014-08-05 15:58 Huawei Xie
       [not found] ` <1407254286-23972-1-git-send-email-huawei.xie-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Huawei Xie @ 2014-08-05 15:58 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

This vhost example implements a simple vswitch using DPDK user space vhost library(lib/librte_vhost) and VMDQ to demonstrate vhost's performance.
- Each virtio device is bound to a VMDQ pool and each pool is assigned the mac/vlan of the virtio device.
- Packets arriving at a pool after l2 classifier will be moved to the virtio device.
- Packets whose destination is a local virtio device will be delivered either by a)software switching mode b)hardware l2 switch.
- zero copy is supported and could be configured through command line.

Huawei Xie (3):
  remove old vhost example
  add lib/librte_vhost support in mk/rte.app.mk
  add new vhost example

 examples/vhost/Makefile                    |   10 +-
 examples/vhost/eventfd_link/Makefile       |   39 -
 examples/vhost/eventfd_link/eventfd_link.c |  205 -----
 examples/vhost/eventfd_link/eventfd_link.h |   79 --
 examples/vhost/libvirt/qemu-wrap.py        |    5 +-
 examples/vhost/main.c                      | 1101 +++++++++++++-------------
 examples/vhost/main.h                      |   85 +-
 examples/vhost/vhost-net-cdev.c            |  367 ---------
 examples/vhost/vhost-net-cdev.h            |   83 --
 examples/vhost/virtio-net.c                | 1165 ----------------------------
 examples/vhost/virtio-net.h                |  147 ----
 mk/rte.app.mk                              |    5 +
 12 files changed, 585 insertions(+), 2706 deletions(-)
 delete mode 100644 examples/vhost/eventfd_link/Makefile
 delete mode 100644 examples/vhost/eventfd_link/eventfd_link.c
 delete mode 100644 examples/vhost/eventfd_link/eventfd_link.h
 delete mode 100644 examples/vhost/vhost-net-cdev.c
 delete mode 100644 examples/vhost/vhost-net-cdev.h
 delete mode 100644 examples/vhost/virtio-net.c
 delete mode 100644 examples/vhost/virtio-net.h

-- 
1.8.1.4

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

end of thread, other threads:[~2014-08-19 12:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-05 15:58 [PATCH 0/3] vhost example based on user space vhost library Huawei Xie
     [not found] ` <1407254286-23972-1-git-send-email-huawei.xie-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-08-05 15:58   ` [PATCH 1/3] examples/vhost: remove old vhost example Huawei Xie
2014-08-05 15:58   ` [PATCH 2/3] lib/librte_vhost: add lib/librte_vhost support in mk/rte.app.mk Huawei Xie
2014-08-05 15:58   ` [PATCH 3/3] examples/vhost: add new vhost example Huawei Xie
     [not found]     ` <1407254286-23972-4-git-send-email-huawei.xie-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2014-08-06  3:32       ` Stephen Hemminger
     [not found]         ` <20140805203254.2240a09c-a7a0dvSY7KrRI77zikRAJc56i+j3xesD0e7PPNI6Mm0@public.gmane.org>
2014-08-06  5:34           ` Xie, Huawei
2014-08-06  3:09   ` [PATCH 0/3] vhost example based on user space vhost library Fu, JingguoX
2014-08-07 14:29   ` Cao, Waterman
     [not found]     ` <AA3F441F262C58498CD6D0C1801DE7EB0AB0FB99-0J0gbvR4kTggGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-08-19  8:50       ` Tahhan, Maryam
     [not found]         ` <1A27633A6DA49C4A92FCD5D4312DBF53697B22BA-kPTMFJFq+rF9qrmMLTLiibfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-08-19  9:06           ` Xie, Huawei
     [not found]             ` <C37D651A908B024F974696C65296B57B0F2729A0-0J0gbvR4kThpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2014-08-19 12:35               ` Tahhan, Maryam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.