From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 1C430234 for ; Tue, 5 Apr 2016 06:23:47 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 04 Apr 2016 21:23:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,442,1455004800"; d="scan'208";a="680901316" Received: from yliu-dev.sh.intel.com (HELO yliu-dev) ([10.239.67.191]) by FMSMGA003.fm.intel.com with ESMTP; 04 Apr 2016 21:23:45 -0700 Date: Tue, 5 Apr 2016 12:25:13 +0800 From: Yuanhan Liu To: Rich Lane Cc: dev@dpdk.org, Huawei Xie , Stephen Hemminger Message-ID: <20160405042513.GM3080@yliu-dev.sh.intel.com> References: <1459822261-95284-1-git-send-email-rlane@bigswitch.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1459822261-95284-1-git-send-email-rlane@bigswitch.com> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH v2] virtio: use zeroed memory for simple TX header 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: Tue, 05 Apr 2016 04:23:48 -0000 On Mon, Apr 04, 2016 at 07:11:01PM -0700, Rich Lane wrote: > For simple TX the virtio-net header must be zeroed, but it was using memory > that had been initialized with indirect descriptor tables. This resulted in > "unsupported gso type" errors from librte_vhost. > > We can use the same memory for every descriptor to save cachelines in the > vswitch. > > Fixes: 6dc5de3a (virtio: use indirect ring elements) > Signed-off-by: Rich Lane Acked-by: Yuanhan Liu Thanks. --yliu