From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=xnIknyUj8RdvA1x1WUlIJV/ZjYiy0tGNlLMiDVufSyk=; b=MeYhI1LuaKgDVw+U8JjlqITFs3Iv68Qcyyt0alK43fpgG032i8szIO0Xd1+qrdsa4a 3DsbMRkNwGB+XZr669mQXobJhwWxBSAZ+pqwVNdD5aTobtqVFoVxuS9IUzQr7J9r32jr y5gft6qB8tGS5i5c0Mry2Tx5tkswXIkeyavgPfZZmGMAqjxbFMxYAVyYugzQ/hXd5jcZ c+PoLnMs2595CboJDDEeM9h3QFr/5dPPaf35I32eC7r0CKdrO7jEtjtX4aARmPPihrFx egq3gsHfOIa5v9L63A8ZDqVIUfyy2NuqmAvH8NX1iN1cSHXJgB1KGYaw/ZrWtxVU4nu+ j23Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=xnIknyUj8RdvA1x1WUlIJV/ZjYiy0tGNlLMiDVufSyk=; b=aQ45nCGcc41yo3e+2NbGOFsS0Fz68ajvkhmrIGSWWPhq1wav2x6N/0je/nQlnHLltW SgJO/MnUQIm0pq+q2/zJM/+fBuBVMw8pj/ASHPYtvHGQt6pHHUIloAL78Pbw2s7QvVcW 5GD+YxZutuensDe5tTMTh+3uiX93cGwWeN3dBJzAxjtcFq740iZKo4RfGSuzc67UAUEH 2ykE/1sn87JsDVt/dftgA9+k1I3lftCczm+mh7lG687EjdN0ZhV1zv34Pmlc0UGucdGQ B/1EBi83PGtLrW/HY9MgmJ4fZw5FjV/yelK9JOkYyJwPsQqjCVIKjz0YYO2oxzB+B6J8 phGA== X-Gm-Message-State: AD7BkJJZ7Kvscsn30G8/ketIFVn5Zs2nwfM1gNsIxsuf4a2kgPYjB+6ovVM5PUIspttkaExy X-Received: by 10.28.99.6 with SMTP id x6mr22254395wmb.25.1459938616070; Wed, 06 Apr 2016 03:30:16 -0700 (PDT) Received: from xps13.localnet (91.111.75.86.rev.sfr.net. [86.75.111.91]) by smtp.gmail.com with ESMTPSA id k125sm24084953wmb.14.2016.04.06.03.30.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Apr 2016 03:30:15 -0700 (PDT) From: Thomas Monjalon To: Rich Lane Cc: dev@dpdk.org, Yuanhan Liu , Huawei Xie , Stephen Hemminger Date: Wed, 06 Apr 2016 12:28:37 +0200 Message-ID: <8066893.ezGm9hkDan@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20160405042513.GM3080@yliu-dev.sh.intel.com> References: <1459822261-95284-1-git-send-email-rlane@bigswitch.com> <20160405042513.GM3080@yliu-dev.sh.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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: Wed, 06 Apr 2016 10:30:16 -0000 > > 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