From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from GWS05.hcl.com (gws05.avitas.hcl.com [203.105.185.23]) by dpdk.org (Postfix) with ESMTP id AC0B02BC6 for ; Mon, 2 May 2016 11:10:15 +0200 (CEST) X-IronPort-AV: E=Sophos;i="5.24,566,1454956200"; d="scan'208";a="161909943" Received: from unknown (HELO NDA-CORP-HT03.CORP.HCL.IN) ([10.248.64.35]) by GWS05.hcl.com with ESMTP/TLS/AES128-SHA; 02 May 2016 14:33:25 +0530 Received: from NDA-HCLT-CSHT04.HCLT.CORP.HCL.IN (10.98.132.29) by NDA-CORP-HT03.CORP.HCL.IN (10.248.64.35) with Microsoft SMTP Server (TLS) id 14.3.235.1; Mon, 2 May 2016 14:40:02 +0530 Received: from NDA-HCLT-MBS03.HCLT.CORP.HCL.IN ([10.98.132.18]) by NDA-HCLT-CSHT04.HCLT.CORP.HCL.IN ([10.98.132.29]) with mapi id 14.03.0235.001; Mon, 2 May 2016 14:40:01 +0530 From: Vivek Gupta To: Matthias Gatto , "users@dpdk.org" Thread-Topic: [dpdk-users] vhost, vxlan, and nic TSO trouble. Thread-Index: AQHRpFCiTHlNzNjv6USz/kOPgDEBTJ+lW8Fx Date: Mon, 2 May 2016 09:10:01 +0000 Message-ID: <488FF59D9020184C9DCF4B4A0DA47814370F2C8B@NDA-HCLT-MBS03.hclt.corp.hcl.in> References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.96.4.252] Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-users] vhost, vxlan, and nic TSO trouble. X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2016 09:10:16 -0000 How are you bursting packets from vhost interface to ixgbe nic? Thanks & Regards Vivek ________________________________________ From: users [users-bounces@dpdk.org] on behalf of Matthias Gatto [matthias.= gatto@outscale.com] Sent: Monday, May 02, 2016 2:27 PM To: users@dpdk.org Subject: Re: [dpdk-users] vhost, vxlan, and nic TSO trouble. On Mon, Apr 25, 2016 at 3:49 PM, Matthias Gatto wrote: > Hi, > I'm working on a project using DPDK: > > We are receiving packets from a vhost interface, then we encapsulate > them in vxlan packets, and finally we burst them into an ixgbe nic. > > We set txq_flags of ixgbe nic to 0 in order to use offloading capability. > > During encapsulation, we add vxlan header length to l2_len field inside m= buf. > It seems that l3_len, l4_len and tso_segsz are already set by vhost. > > When we use iperf3 to test our architecture, it seems that: > - Packets with PKT_TX_TCP_CKSUM and without PKT_TX_TCP_SEG have a > correct checksum. > - Packets with PKT_TX_TCP_CKSUM and with PKT_TX_TCP_SEG are segmented > but have a bad checksum. > > Do you think I've missed something ? > > Thanks for your help > > -- Matthias Gatto. ping ::DISCLAIMER:: ---------------------------------------------------------------------------= ------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and inte= nded for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as informa= tion could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in trans= mission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability = on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the = author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, disse= mination, copying, disclosure, modification, distribution and / or publication of this message without the prior written= consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please= delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses = and other defects. ---------------------------------------------------------------------------= -------------------------------------------------------------------------