DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Fu, JingguoX" <jingguox.fu@intel.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH 0/3] vhost example based on user space vhost	library.
Date: Wed, 6 Aug 2014 03:09:08 +0000	[thread overview]
Message-ID: <6BD6202160B55B409D423293115822625188FB@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1407254286-23972-1-git-send-email-huawei.xie@intel.com>

Tested-by: Jingguo Fu <jingguox.fu@intel.com>

This patch includes 3 files, and has been tested by Intel.
Please see information as the following:

Host:
Fedora 19 x86_64, Linux Kernel 3.9.0, GCC 4.8.2  Intel Xeon CPU E5-2680 v2 @ 2.80GHz
 NIC: Intel Niantic 82599, Intel i350, Intel 82580 and Intel 82576

Guest:
Fedora 16 x86_64, Linux Kernel 3.4.2, GCC 4.6.3 Qemu emulator 1.4.2

This patch tests with user space vhost driver library patch.
We verified zero copy and one copy test cases for functional and performance.

Total case  Passed Failed
   8          8      0

-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Huawei Xie
Sent: Tuesday, August 05, 2014 11:58 PM
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH 0/3] vhost example based on user space vhost library.

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

  parent reply	other threads:[~2014-08-06  3:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-05 15:58 Huawei Xie
2014-08-05 15:58 ` [dpdk-dev] [PATCH 1/3] examples/vhost: remove old vhost example Huawei Xie
2014-08-05 15:58 ` [dpdk-dev] [PATCH 2/3] lib/librte_vhost: add lib/librte_vhost support in mk/rte.app.mk Huawei Xie
2014-08-05 15:58 ` [dpdk-dev] [PATCH 3/3] examples/vhost: add new vhost example Huawei Xie
2014-08-06  3:32   ` Stephen Hemminger
2014-08-06  5:34     ` Xie, Huawei
2014-08-06  3:09 ` Fu, JingguoX [this message]
2014-08-07 14:29 ` [dpdk-dev] [PATCH 0/3] vhost example based on user space vhost library Cao, Waterman
2014-08-19  8:50   ` Tahhan, Maryam
2014-08-19  9:06     ` Xie, Huawei
2014-08-19 12:35       ` Tahhan, Maryam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6BD6202160B55B409D423293115822625188FB@SHSMSX101.ccr.corp.intel.com \
    --to=jingguox.fu@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).