From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 27DC85594 for ; Thu, 15 Sep 2016 04:34:07 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP; 14 Sep 2016 19:34:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,337,1470726000"; d="scan'208,217";a="1050475048" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga002.jf.intel.com with ESMTP; 14 Sep 2016 19:34:04 -0700 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 14 Sep 2016 19:34:03 -0700 Received: from fmsmsx108.amr.corp.intel.com ([169.254.9.28]) by fmsmsx117.amr.corp.intel.com ([169.254.3.93]) with mapi id 14.03.0248.002; Wed, 14 Sep 2016 19:34:02 -0700 From: "Balasubramanian, RajaramanX" To: "dev@dpdk.org" CC: "Viswanathan, AnandaramanX" , "Venkatachary, GunaseelanX" , "Ramia, Kannan Babu" , "S, Deepak" , "Theerthala, Shanmukha SreedharX" , "Shemail, AhmedX" , "Godithi, Vasantha KumarX" Thread-Topic: hw checksum offload feature issue Thread-Index: AdIO+ZVtUXItguqhS5ydhfLlZNHBag== Date: Thu, 15 Sep 2016 02:34:01 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZGZlMTc1YzctMTIwNS00ZmI0LTk4NTQtNTFkOGEzZTA2Y2ZiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjNia3Z1Q29yT1lnaERVRzZmVjFpc0hWVmxmUWtwRWdmaFJpc2RjSXhKbzA9In0= x-originating-ip: [10.1.200.107] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] hw checksum offload feature issue 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: Thu, 15 Sep 2016 02:34:07 -0000 Hi, We are developing CGNAT VNF over DPDK. In that, we have NAT64 feature i= ncluded which basically does IPv6 to IPv4 NAT translation and vice versa. When we do conversion from IPv6 to IPv4, we have used dpdk mbuf library= function rte_pktmbuf_adj() to remove 20 bytes of IPv6 header at the begin= ning and create IPv4 header and other headers appropriately. Also, we have hw checksum offload feature enabled. So when the packet goe= s through NIC hw checksum, apart from calculating IPv4 and UDP/TCP checksum= , it also modifies other header fields like eth header dest address field. SO, have you come across any issue like this ?? When we disable hw checksum feature, packet header fields are not modifie= d and there is no issue. Thanks, Rajaram.