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 D29A02C8 for ; Tue, 13 Dec 2016 10:54:13 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 13 Dec 2016 01:54:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,340,1477983600"; d="scan'208";a="1098459043" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.162]) by fmsmga002.fm.intel.com with ESMTP; 13 Dec 2016 01:54:11 -0800 Date: Tue, 13 Dec 2016 17:56:02 +0800 From: Yuanhan Liu To: Maxime Coquelin Cc: dev@dpdk.org Message-ID: <20161213095602.GC18991@yliu-dev.sh.intel.com> References: <20161212175400.7978-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161212175400.7978-1-maxime.coquelin@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH] vhost: Introduce vhost-user's REPLY_ACK feature 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, 13 Dec 2016 09:54:15 -0000 On Mon, Dec 12, 2016 at 06:54:00PM +0100, Maxime Coquelin wrote: > REPLY_ACK features provide a generic way for QEMU to ensure both > completion and success of a request. > > As described in vhost-user spec in QEMU repository, QEMU sets > VHOST_USER_NEED_REPLY flag (bit 3) when expecting a reply_ack from > the backend. Backend must reply with 0 for success or non-zero > otherwise when flag is set. > > Currently, only VHOST_USER_SET_MEM_TABLE request implements reply_ack, > in order to synchronize mapping updates. > > This patch enables REPLY_ACK feature generally, but only checks error > code for VHOST_USER_SET_MEM_TABLE. > > Signed-off-by: Maxime Coquelin Thanks for the patch: it looks good and straightforward to me. > --- > Hi, > > The intend of this patch is not to fix a known issue, but it is > nice to have this feature, and it will be used by upcoming MTU > feature if it remains in its current form. Just asking, when do you plan to send out the patches? --yliu