From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) by dpdk.org (Postfix) with ESMTP id 17ED425A1 for ; Thu, 20 Jul 2017 11:57:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1872; q=dns/txt; s=iport; t=1500544655; x=1501754255; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=sb7eeySWTYf9v6wxB2uHZ6ZXSolU3MnidXMTZG3B344=; b=FjswDcQRXtOugSGZtu5FoE9mmIDk7It9O0lmF+TrzM22XE/9hlWFfH2Y fX2RfgBzlXTjKwGpcLU+nC1KE6IzAKhh+YeOZuRkfsMrYyIFk37Za7hpj jcHaizzQHDXS1x5W0sKbZ/UV0cp4jJbx2O+L/e2qSCPqS1ipUSB7jb/oa s=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0APAQCgfXBZ/5pdJa1bGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBg1qBeAeOBJFFIpYFghGFRwIag1g/GAECAQEBAQEBAWsohRkBBSMEDUU?= =?us-ascii?q?QAgEIGAICERUCAgIwFRACBA4Fii+xM4FsOosfAQEBAQEBAQEBAQEBAQEBAQEBA?= =?us-ascii?q?QEBHYELgh2DTYIMC4JuhQEoglQwgjEBBJ8+ApQYkjRIlRUBHziBCnUVWwGHA3a?= =?us-ascii?q?IbIEOAQEB?= X-IronPort-AV: E=Sophos;i="5.40,383,1496102400"; d="scan'208";a="270461481" Received: from rcdn-core-3.cisco.com ([173.37.93.154]) by rcdn-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jul 2017 09:57:34 +0000 Received: from XCH-ALN-018.cisco.com (xch-aln-018.cisco.com [173.36.7.28]) by rcdn-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id v6K9vXNw024057 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 20 Jul 2017 09:57:34 GMT Received: from xch-aln-011.cisco.com (173.36.7.21) by XCH-ALN-018.cisco.com (173.36.7.28) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 20 Jul 2017 04:57:33 -0500 Received: from xch-aln-011.cisco.com ([173.36.7.21]) by XCH-ALN-011.cisco.com ([173.36.7.21]) with mapi id 15.00.1210.000; Thu, 20 Jul 2017 04:57:33 -0500 From: "Ido Barnea (ibarnea)" To: Olivier Matz CC: "konstantin.ananyev@intel.com" , "Hanoch Haim (hhaim)" , "dev@dpdk.org" Thread-Topic: librte_net/rte_ip.h checksum functions question Thread-Index: AQHS/7/x1CG3JE73fEyCQGvqvyQoZKJcxAyAgAA/yAA= Date: Thu, 20 Jul 2017 09:57:33 +0000 Message-ID: References: <4E60939B-45FA-45C6-B6C7-1643CB6285D2@cisco.com> <20170720110917.4ec188eb@platinum> In-Reply-To: <20170720110917.4ec188eb@platinum> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.229.132.88] Content-Type: text/plain; charset="utf-8" Content-ID: <41EEFD2DE388524086DC6A0974E0406C@emea.cisco.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] librte_net/rte_ip.h checksum functions question 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: Thu, 20 Jul 2017 09:57:35 -0000 U291bmRzIGZpbmUgdG8gbWUuIEFyZSB5b3UgcGxhbm5pbmcgdG8gYWRkIHRoaXMsIG9yIHlvdSB3 YW50IG1lIHRvIGRvIGl0Pw0KDQoNCg0KDQpPbiAyMC8wNy8yMDE3LCAxMjowOSBQTSwgI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