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 C25AE2B88 for ; Mon, 26 Sep 2016 22:57:58 +0200 (CEST) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id F3CE54ACAF; Mon, 26 Sep 2016 20:57:57 +0000 (UTC) Received: from [10.36.4.83] (vpn1-4-83.ams2.redhat.com [10.36.4.83]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u8QKvuYO021988 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 Sep 2016 16:57:57 -0400 To: Yuanhan Liu , dev@dpdk.org References: <1471939839-29778-1-git-send-email-yuanhan.liu@linux.intel.com> <1474604007-5221-1-git-send-email-yuanhan.liu@linux.intel.com> <1474604007-5221-6-git-send-email-yuanhan.liu@linux.intel.com> From: Maxime Coquelin Message-ID: Date: Mon, 26 Sep 2016 22:57:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1474604007-5221-6-git-send-email-yuanhan.liu@linux.intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 26 Sep 2016 20:57:58 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH v2 5/7] vhost: add a flag to enable dequeue zero copy X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2016 20:57:59 -0000 On 09/23/2016 06:13 AM, Yuanhan Liu wrote: > Dequeue zero copy is disabled by default. Here add a new flag > ``RTE_VHOST_USER_DEQUEUE_ZERO_COPY`` to explictily enable it. > > Signed-off-by: Yuanhan Liu > --- > > v2: - update release log > - doc dequeue zero copy in detail > --- > doc/guides/prog_guide/vhost_lib.rst | 35 +++++++++++++++++++++++++++++++++- > doc/guides/rel_notes/release_16_11.rst | 11 +++++++++++ > lib/librte_vhost/rte_virtio_net.h | 1 + > lib/librte_vhost/socket.c | 5 +++++ > lib/librte_vhost/vhost.c | 10 ++++++++++ > lib/librte_vhost/vhost.h | 1 + > 6 files changed, 62 insertions(+), 1 deletion(-) Reviewed-by: Maxime Coquelin Thanks, Maxime