Message ID | 20180926090638.4705-1-xiaolong.ye@intel.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AF0401B14E; Wed, 26 Sep 2018 04:24:03 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 68FF75B2C for <dev@dpdk.org>; Wed, 26 Sep 2018 04:24:00 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2018 19:23:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,304,1534834800"; d="scan'208";a="265745526" Received: from yexl-server.sh.intel.com ([10.67.110.207]) by fmsmga005.fm.intel.com with ESMTP; 25 Sep 2018 19:18:34 -0700 From: Xiaolong Ye <xiaolong.ye@intel.com> To: dev@dpdk.org, Maxime Coquelin <maxime.coquelin@redhat.com>, Tiwei Bie <tiwei.bie@intel.com>, Zhihong Wang <zhihong.wang@intel.com> Cc: xiao.w.wang@intel.com, Rami Rosen <roszenrami@gmail.com>, Wang Haiyue <haiyue.wang@intel.com>, Xiaolong Ye <xiaolong.ye@intel.com> Date: Wed, 26 Sep 2018 17:06:36 +0800 Message-Id: <20180926090638.4705-1-xiaolong.ye@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180925120716.102144-1-xiaolong.ye@intel.com> References: <20180925120716.102144-1-xiaolong.ye@intel.com> Subject: [dpdk-dev] [PATCH v6 0/2] introduce vdpa sample X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
introduce vdpa sample
|
|
Message
Xiaolong Ye
Sept. 26, 2018, 9:06 a.m. UTC
Hi, This patchset introduces vdpa sample to demonstrate the vDPA use case. 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/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/vdpa.rst | 115 +++++++ examples/Makefile | 2 +- examples/vdpa/Makefile | 32 ++ examples/vdpa/main.c | 458 +++++++++++++++++++++++++ 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 + 10 files changed, 635 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
Comments
Hi, > -----Original Message----- > From: Ye, Xiaolong > Sent: Wednesday, September 26, 2018 5:07 PM > To: dev@dpdk.org; Maxime Coquelin <maxime.coquelin@redhat.com>; Bie, > Tiwei <tiwei.bie@intel.com>; Wang, Zhihong <zhihong.wang@intel.com> > Cc: Wang, Xiao W <xiao.w.wang@intel.com>; Rami Rosen > <roszenrami@gmail.com>; Wang, Haiyue <haiyue.wang@intel.com>; Ye, > Xiaolong <xiaolong.ye@intel.com> > Subject: [PATCH v6 0/2] introduce vdpa sample > > Hi, > > This patchset introduces vdpa sample to demonstrate the vDPA use case. > > 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/sample_app_ug/index.rst | 1 + > doc/guides/sample_app_ug/vdpa.rst | 115 +++++++ > examples/Makefile | 2 +- > examples/vdpa/Makefile | 32 ++ > examples/vdpa/main.c | 458 +++++++++++++++++++++++++ > 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 + > 10 files changed, 635 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 > > -- > 2.17.1 Series Acked-by: Xiao Wang <xiao.w.wang@intel.com> BRs, Xiao