From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9C72F45C14; Wed, 30 Oct 2024 13:33:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C9124331C; Wed, 30 Oct 2024 13:33:12 +0100 (CET) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id AE909402EE for ; Wed, 30 Oct 2024 13:33:11 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 77D6521B11; Wed, 30 Oct 2024 13:33:11 +0100 (CET) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: RE: [PATCH v2 5/6] net: add smaller IPv4 cksum function for simple cases Date: Wed, 30 Oct 2024 13:33:09 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F84F@smartserver.smartshare.dk> X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v2 5/6] net: add smaller IPv4 cksum function for simple cases Thread-Index: AdsqxzvMZexmNUeFTlm/w+u5u/RgeAAAEyGg References: <20241017142214.1669370-1-bruce.richardson@intel.com> <20241025165020.1856733-1-bruce.richardson@intel.com> <20241025165020.1856733-6-bruce.richardson@intel.com> <98CBD80474FA8B44BF855DF32C47DC35E9F84E@smartserver.smartshare.dk> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Bruce Richardson" Cc: "David Marchand" , , "Stephen Hemminger" , "Jerin Jacob" , "Aman Singh" , "Konstantin Ananyev" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches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