From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B79FBA00E6 for ; Wed, 10 Jul 2019 09:27:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5E35F4C8E; Wed, 10 Jul 2019 09:27:49 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 63C6BA3 for ; Wed, 10 Jul 2019 09:27:48 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jul 2019 00:27:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,473,1557212400"; d="scan'208";a="317274516" Received: from npg-dpdk-virtio-tbie-2.sh.intel.com (HELO ___) ([10.67.104.66]) by orsmga004.jf.intel.com with ESMTP; 10 Jul 2019 00:27:46 -0700 Date: Wed, 10 Jul 2019 15:26:10 +0800 From: Tiwei Bie To: JinYu Cc: dev@dpdk.org, changpeng.liu@intel.com, maxime.coquelin@redhat.com, zhihong.wang@intel.com Message-ID: <20190710072610.GA30767@___> References: <20190708183959.50293> <20190710104356.6580-1-jin.yu@intel.com> <20190710104356.6580-2-jin.yu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190710104356.6580-2-jin.yu@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH v2 2/2] vhost: Add vhost-user-blk example which support inflight 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Jul 10, 2019 at 06:43:56PM +0800, JinYu wrote: > A vhost-user-blk example that support inflight feature. It uses the > new APIs that introduced in the first patch, so It can show how there > APIs work to support inflight feature. > > Signed-off-by: JinYu > --- > V1 - add the case. > --- > examples/vhost_blk/Makefile | 67 +++ > examples/vhost_blk/blk.c | 118 ++++++ > examples/vhost_blk/blk_spec.h | 95 +++++ > examples/vhost_blk/meson.build | 20 + > examples/vhost_blk/vhost_blk.c | 589 ++++++++++++++++++++++++++ > examples/vhost_blk/vhost_blk.h | 96 +++++ > examples/vhost_blk/vhost_blk_compat.c | 193 +++++++++ > 7 files changed, 1178 insertions(+) > create mode 100644 examples/vhost_blk/Makefile > create mode 100644 examples/vhost_blk/blk.c > create mode 100644 examples/vhost_blk/blk_spec.h > create mode 100644 examples/vhost_blk/meson.build > create mode 100644 examples/vhost_blk/vhost_blk.c > create mode 100644 examples/vhost_blk/vhost_blk.h > create mode 100644 examples/vhost_blk/vhost_blk_compat.c > [...] I don't know much about SCSI yet. Could you provide some details about why vhost-SCSI doesn't work with this inflight feature? Thanks, Tiwei