From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <jianfeng.tan@intel.com>
Received: from mga02.intel.com (mga02.intel.com [134.134.136.20])
 by dpdk.org (Postfix) with ESMTP id E00AA2B91
 for <dev@dpdk.org>; Wed,  7 Jun 2017 08:40:44 +0200 (CEST)
Received: from orsmga001.jf.intel.com ([10.7.209.18])
 by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 06 Jun 2017 23:40:43 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.39,310,1493708400"; d="scan'208";a="1138774815"
Received: from dpdk06.sh.intel.com ([10.239.129.195])
 by orsmga001.jf.intel.com with ESMTP; 06 Jun 2017 23:40:42 -0700
From: Jianfeng Tan <jianfeng.tan@intel.com>
To: dev@dpdk.org
Cc: Jianfeng Tan <jianfeng.tan@intel.com>
Date: Wed,  7 Jun 2017 06:41:35 +0000
Message-Id: <1496817697-49130-1-git-send-email-jianfeng.tan@intel.com>
X-Mailer: git-send-email 2.7.4
Subject: [dpdk-dev] [PATCH 0/2] fix vhost enqueue offload
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jun 2017 06:40:47 -0000

Patch 1: fix TCP csum not set.
Patch 2: fix IP csum not calculated.

This series is to make sure TCP packets (phy NIC -> vhost -> virtio NIC)
can be correctly received by VM, with phy NIC LRO enabled or software GRO
enabled.

The example setup is:
  ixgbe (LRO enabled) <-> vhost <-> virtio, ixgbe and vhost are driven by
testpmd csum forward engine.

Jianfeng Tan (2):
  vhost: fix TCP csum not set
  vhost: fix IP csum not calculated

 lib/librte_vhost/virtio_net.c | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

-- 
2.7.4