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 A994D9AD8 for ; Fri, 5 Feb 2016 08:31:48 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 04 Feb 2016 23:31:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,399,1449561600"; d="scan'208";a="647576001" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 04 Feb 2016 23:31:46 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id u157Vk0P008159 for ; Fri, 5 Feb 2016 15:31:46 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id u157VgZw028909 for ; Fri, 5 Feb 2016 15:31:44 +0800 Received: (from jijiangl@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id u157Vg7d028905 for dev@dpdk.org; Fri, 5 Feb 2016 15:31:42 +0800 From: Jijiang Liu To: dev@dpdk.org Date: Fri, 5 Feb 2016 15:31:37 +0800 Message-Id: <1454657502-28872-1-git-send-email-jijiang.liu@intel.com> X-Mailer: git-send-email 1.7.12.2 Subject: [dpdk-dev] [PATCH v8 0/5] add virtio offload support in us-vhost 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: Fri, 05 Feb 2016 07:31:49 -0000 Adds virtio offload support in us-vhost. The patch set adds the feature negotiation of checksum and TSO between us-vhost and vanilla Linux virtio guest, and add these offload features support in the vhost lib, and change vhost sample to test them. In short, this patch set supports the followings, - DPDK vhost CSUM & TSO for VM2NIC case - CSUM and TSO support between legacy virtio-net and DPDK vhost for VM2VM and NIC2VM cases. v8 changes: Add release notes update. v7 changes: Rebase latest codes and format patch comments. v6 change: Rebase latest codes. v5 changes: Add more clear descriptions to explain these changes. reset the 'virtio_net_hdr' value in the virtio_enqueue_offload() function. reorganize patches. v4 changes: remove virtio-net change, only keep vhost changes. add guest TX offload capabilities to support VM to VM case. split the cleanup code as a separate patch. v3 change: rebase latest codes. v2 change: fill virtio device information for TX offloads. Tested-by: Qian Xu --- Jijiang Liu (4): add vhost offload capabilities remove ipv4_hdr structure from vhost sample. add guest offload setting ln the vhost lib. change vhost application to test checksum and TSO for VM to NIC case examples/vhost/main.c | 120 ++++++++++++++++++++++++++++----- lib/librte_vhost/vhost_rxtx.c | 150 ++++++++++++++++++++++++++++++++++++++++- lib/librte_vhost/virtio-net.c | 9 ++- 3 files changed, 259 insertions(+), 20 deletions(-) -- 1.7.7.6