From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id B6D7368C2 for ; Thu, 18 Sep 2014 15:14:11 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 18 Sep 2014 06:13:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,547,1406617200"; d="scan'208";a="575074984" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga001.jf.intel.com with ESMTP; 18 Sep 2014 06:19:53 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id s8IDJq6W001647 for ; Thu, 18 Sep 2014 21:19:53 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id s8IDJo7d029513 for ; Thu, 18 Sep 2014 21:19:52 +0800 Received: (from hxie5@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id s8IDJouO029509 for dev@dpdk.org; Thu, 18 Sep 2014 21:19:50 +0800 From: Huawei Xie To: dev@dpdk.org Date: Thu, 18 Sep 2014 21:19:48 +0800 Message-Id: <1411046390-29478-1-git-send-email-huawei.xie@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH 0/2] examples/vhost: vhost example based on vhost lib API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2014 13:14:12 -0000 Old vhost example consists of vhost cuse driver, virtio device management, and VMDQ based packet switching logic. vhost cuse driver and virtio device management are moved into vhost lib. This patch modifies vhost example to use vhost lib API. Huawei Xie (2): copy main.c main.h from old vhost example modify vhost example to use vhost lib API examples/vhost/Makefile | 52 + examples/vhost/main.c | 3045 +++++++++++++++++++++++++++++++++++++++++++++++ examples/vhost/main.h | 123 ++ 3 files changed, 3220 insertions(+) create mode 100644 examples/vhost/Makefile create mode 100644 examples/vhost/main.c create mode 100644 examples/vhost/main.h -- 1.8.1.4