From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id A1691200 for ; Tue, 2 Oct 2018 14:51:05 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id D5D2283F45; Tue, 2 Oct 2018 12:51:04 +0000 (UTC) Received: from [10.36.112.50] (ovpn-112-50.ams2.redhat.com [10.36.112.50]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 85A5A30912F5; Tue, 2 Oct 2018 12:51:02 +0000 (UTC) To: Xiaolong Ye , dev@dpdk.org, Tiwei Bie , Zhihong Wang Cc: xiao.w.wang@intel.com, Rami Rosen , Wang Haiyue References: <20180928112344.42791-1-xiaolong.ye@intel.com> <20180928214747.48938-1-xiaolong.ye@intel.com> From: Maxime Coquelin Message-ID: Date: Tue, 2 Oct 2018 14:51:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180928214747.48938-1-xiaolong.ye@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Tue, 02 Oct 2018 12:51:04 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH v8 0/2] introduce vdpa sample X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2018 12:51:05 -0000 On 09/28/2018 11:47 PM, Xiaolong Ye wrote: > Hi, > > This patchset introduces vdpa sample to demonstrate the vDPA use case. > > v8 changes: > * move body of data_init to the main function > * adjust Reviewed-by/Acked-by tag postion > > v7 changes: > * make vports static > * avoid unnecessary static variable initialization > > v6 changes: > * improve the document according to Xiao's comments > * fix a typo, PRIu64 -> PRIx64 > > v5 changes: > * improve print format and correct from "PRIu64" to "PRIx64" > * use "-c 0x2" to better demonstrate app doesn't need to launch dedicated > worker threads for vhost enqueue/dequeue operations in vdpa.rst > > v4 changes: > * add client mode support > * improve the format to list the vDPA device info and improve the vdpa.rst > accordingly > * remove some useless comments > * add introduction in 18.11 release note. > > > v3 changes: > * list cmd would show queue number and supported features of vdpa devices. > * address Xiao's review comments > > v2 changes: > > * fix a compilation error reported by Rosen > * improve create cmd in interactive mode and add two new cmds: list, quit > * add application documentation > > > Xiaolong Ye (2): > vhost: introduce API to get vDPA device number > examples/vdpa: introduce a new sample for vDPA > > MAINTAINERS | 2 + > doc/guides/rel_notes/release_18_11.rst | 8 + > doc/guides/sample_app_ug/index.rst | 1 + > doc/guides/sample_app_ug/vdpa.rst | 120 +++++++ > examples/Makefile | 2 +- > examples/vdpa/Makefile | 32 ++ > examples/vdpa/main.c | 453 +++++++++++++++++++++++++ > examples/vdpa/meson.build | 16 + > lib/librte_vhost/rte_vdpa.h | 3 + > lib/librte_vhost/rte_vhost_version.map | 1 + > lib/librte_vhost/vdpa.c | 6 + > 11 files changed, 643 insertions(+), 1 deletion(-) > create mode 100644 doc/guides/sample_app_ug/vdpa.rst > create mode 100644 examples/vdpa/Makefile > create mode 100644 examples/vdpa/main.c > create mode 100644 examples/vdpa/meson.build > Applied to dpdk-next-virtio/master. Thanks, Maxime