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 EF6D3685D for ; Mon, 20 Oct 2014 06:30:21 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 19 Oct 2014 21:32:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,749,1406617200"; d="scan'208";a="592145122" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga001.jf.intel.com with ESMTP; 19 Oct 2014 21:38:29 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id s9K4cTND002531 for ; Mon, 20 Oct 2014 12:38:29 +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 s9K4cQXD028148 for ; Mon, 20 Oct 2014 12:38:29 +0800 Received: (from hxie5@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id s9K4cQgs028144 for dev@dpdk.org; Mon, 20 Oct 2014 12:38:26 +0800 From: Huawei Xie To: dev@dpdk.org Date: Mon, 20 Oct 2014 12:38:12 +0800 Message-Id: <1413779906-28113-1-git-send-email-huawei.xie@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH 00/14] new vhost example 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: Mon, 20 Oct 2014 04:30:22 -0000 New vhost example is a transform of old vhost example. It calls vhost library API to receive/transmit packets from guest VM. zero copy logic is kept in vhost example. Huawei Xie (14): copy old vhost example files main.c/main.h as the base of new vhost example remove virtio_dev_(merge_)rx, copy_from_mbuf_to_ring, virtio_dev_(merge_)tx add hpa region check and generation functions dev->vdev hpa region generation in new_device call rte_vhost_enqueue_burst, rte_vhost_dequeue_burst API. Add mac learning and retry logic patch virtio_tx_route remove gpa_to_vva, base_index other APIs vmdq_rx_q change minimal changes add branch hint disalbe RTE_IXGBE_INC_VEC as workaround for merge-able feature add example Makefile examples/vhost/Makefile | 60 + examples/vhost/main.c | 3051 +++++++++++++++++++++++++++++++++++++++++++++++ examples/vhost/main.h | 122 ++ 3 files changed, 3233 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