From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v2] virtio: use zeroed memory for simple TX header Date: Tue, 5 Apr 2016 12:25:13 +0800 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 Cc: dev@dpdk.org, Huawei Xie , Stephen Hemminger To: Rich Lane 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) Content-Disposition: inline In-Reply-To: <1459822261-95284-1-git-send-email-rlane@bigswitch.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 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