From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: [PATCH 0/4] vhost vlan tag and TSO fixes/cleanups Date: Fri, 25 Mar 2016 14:01:30 +0800 Message-ID: <1458885694-31111-1-git-send-email-yuanhan.liu@linux.intel.com> Cc: huawei.xie@intel.com, Thomas Monjalon , Ksiadz MarcinX , Yuanhan Liu To: dev@dpdk.org Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id A42D4378B for ; Fri, 25 Mar 2016 06:59:00 +0100 (CET) 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" Ksiadz reported that TSO won't work for OVS with NIC, even with those similar changes from the commit 9fd72e3cbd29 ("examples/vhost: add virtio offload"). This gives me another chance to look at the TSO implementation a bit deeper, and then came up with this small patch set, which moves some left settings for enabling TSO to vhost lib. With this patch set, an application can do mimimal (or even no) changes to get the TSO capability. Take OVS as example, it just need set MTU correctly and set the NIC port txq_flags properly to enable NIC offloading ability, which is disabled by default for some drivers. Patch 4 is a vlan tag fix reported by Qian. --- Yuanhan Liu (4): vhost: remove unnecessary return vhost: complete TSO settings examples/vhost: remove unnessary settings for TX offload examples/vhost: fix wrong vlan_tag examples/vhost/main.c | 64 +++---------------------------------------- lib/librte_vhost/vhost_rxtx.c | 49 +++++++++++++++++++++++---------- 2 files changed, 39 insertions(+), 74 deletions(-) -- 1.9.0