From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 7F9527E99 for ; Thu, 23 Oct 2014 18:09:05 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP; 23 Oct 2014 09:16:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,776,1406617200"; d="scan'208";a="594662433" Received: from pgsmsx103.gar.corp.intel.com ([10.221.44.82]) by orsmga001.jf.intel.com with ESMTP; 23 Oct 2014 09:17:28 -0700 Received: from pgsmsx108.gar.corp.intel.com (10.221.44.103) by PGSMSX103.gar.corp.intel.com (10.221.44.82) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 24 Oct 2014 00:17:28 +0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by PGSMSX108.gar.corp.intel.com (10.221.44.103) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 24 Oct 2014 00:17:27 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.202]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.207]) with mapi id 14.03.0195.001; Fri, 24 Oct 2014 00:17:21 +0800 From: "Xie, Huawei" To: Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH 00/14] new vhost example Thread-Index: AQHP7rIAUBHjEnnjAkaVdy11SiyQBJw93CBg Date: Thu, 23 Oct 2014 16:17:20 +0000 Message-ID: References: <1413779906-28113-1-git-send-email-huawei.xie@intel.com> <1616656.Y0V9bK64Pk@xps13> In-Reply-To: <1616656.Y0V9bK64Pk@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [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: Thu, 23 Oct 2014 16:09:06 -0000 Thanks for all the effort! > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Thursday, October 23, 2014 4:11 AM > To: Xie, Huawei > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 00/14] new vhost example >=20 > 2014-10-20 12:38, Huawei Xie: > > 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 e= xample > > 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 ++ >=20 > I've cleaned up your patchset a bit and applied it. >=20 > Thanks > -- > Thomas