From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp89.iad3a.emailsrvr.com (smtp89.iad3a.emailsrvr.com [173.203.187.89]) by dpdk.org (Postfix) with ESMTP id 174C61B441 for ; Sun, 17 Jun 2018 11:25:12 +0200 (CEST) Received: from smtp4.relay.iad3a.emailsrvr.com (localhost [127.0.0.1]) by smtp4.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id A94505501; Sun, 17 Jun 2018 05:25:11 -0400 (EDT) X-Auth-ID: padam.singh@inventum.net Received: by smtp4.relay.iad3a.emailsrvr.com (Authenticated sender: padam.singh-AT-inventum.net) with ESMTPSA id DA14F431A; Sun, 17 Jun 2018 05:25:10 -0400 (EDT) X-Sender-Id: padam.singh@inventum.net Received: from [192.168.1.36] ([UNAVAILABLE]. [49.207.100.198]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:587 (trex/5.7.12); Sun, 17 Jun 2018 05:25:11 -0400 From: Padam Jeet Singh Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\)) Message-Id: <45FFB08E-61C4-456F-A332-0881B6BF2BE3@inventum.net> Date: Sun, 17 Jun 2018 14:55:06 +0530 Cc: yongwang@vmware.com To: dev@dpdk.org X-Mailer: Apple Mail (2.3445.8.2) Subject: [dpdk-dev] vmxnet3 TX TCP/UDP checksum not getting computed with L2_len > 14 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2018 09:25:12 -0000 Hello, Issue observed when using vmxnet3 based interface on packet with = following structure is sent: Ethernet + PPPoE + PPP (22 bytes) as the Layer 2 header,=20 IPv4 (20)=20 UDP DNS Payload The tx offload value in this case is 0x0f0000000000000 (PKT_TX_IPV4 | = PKT_TX_IP_CKSUM | PKT_TX_UDP_CKSUM) The checksum of the packet seen by the receiver shows incorrect checksum = and it=E2=80=99s value is the pseudo checksum value that was set at the = time of the TX. However the IP header checksum is correct. The same issue is not seen when the L2 header is a just the Ethernet (14 = bytes). Also, with the same setup on the same hardware if we switch the driver = from vmxnet3 to e1000e, all checksums are computed correctly. Is this a DPDK vmxnet3 driver bug or that of underlying esxi? The ESXi = version is 6.0.0 (Build 3620759). Thanks, Padam=