From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] virtio: use zeroed memory for simple TX header Date: Wed, 06 Apr 2016 12:28:37 +0200 Message-ID: <8066893.ezGm9hkDan@xps13> References: <1459822261-95284-1-git-send-email-rlane@bigswitch.com> <20160405042513.GM3080@yliu-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Yuanhan Liu , Huawei Xie , Stephen Hemminger To: Rich Lane Return-path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 36F1F2617 for ; Wed, 6 Apr 2016 12:30:16 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id n3so56607022wmn.0 for ; Wed, 06 Apr 2016 03:30:16 -0700 (PDT) In-Reply-To: <20160405042513.GM3080@yliu-dev.sh.intel.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" > > 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 Applied, thanks