From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v3] vhost: Only access header if offloading is supported in dequeue path Date: Tue, 18 Oct 2016 22:30:03 +0800 Message-ID: <20161018143003.GO16751@yliu-dev.sh.intel.com> References: <1475773241-5714-1-git-send-email-maxime.coquelin@redhat.com> <1476432427-2724-1-git-send-email-maxime.coquelin@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, mst@redhat.com, jianfeng.tan@intel.com, olivier.matz@6wind.com, stephen@networkplumber.org To: Maxime Coquelin Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 139102C0C for ; Tue, 18 Oct 2016 16:29:09 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1476432427-2724-1-git-send-email-maxime.coquelin@redhat.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Oct 14, 2016 at 10:07:07AM +0200, Maxime Coquelin wrote: > If offloading features are not negotiated, parsing the virtio header > is not needed. > > Micro-benchmark with testpmd shows that the gain is +4% with indirect > descriptors, +1% when using direct descriptors. > > Signed-off-by: Maxime Coquelin Applied to dpdk-next-virtio. Thanks. --yliu