From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH v3 01/11] vhost: advertise support in-order feature Date: Thu, 28 Jun 2018 16:32:54 +0200 Message-ID: <49ce4761-e598-816e-3110-8e37cf1ff002@redhat.com> References: <20180628215235.106069-1-yong.liu@intel.com> <20180628215235.106069-2-yong.liu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: zhihong.wang@intel.com, dev@dpdk.org To: Marvin Liu , tiwei.bie@intel.com Return-path: Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by dpdk.org (Postfix) with ESMTP id 2EC661B42E for ; Thu, 28 Jun 2018 16:32:58 +0200 (CEST) In-Reply-To: <20180628215235.106069-2-yong.liu@intel.com> Content-Language: en-US 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 06/28/2018 11:52 PM, Marvin Liu wrote: > If devices always use descriptors in the same order in which they have > been made available. These devices can offer the VIRTIO_F_IN_ORDER > feature. If negotiated, this knowledge allows devices to notify the use > of a batch of buffers to virtio driver by only writing used ring index. > > Vhost user device has supported this feature by default. If vhost > dequeue zero is enabled, should disable VIRTIO_F_IN_ORDER as vhost can’t > assure that descriptors returned from NIC are in order. > > Signed-off-by: Marvin Liu > Reviewed-by: Maxime Coquelin Thanks, Maxime