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 677FA45C14; Wed, 30 Oct 2024 12:32:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E5F5F4028F; Wed, 30 Oct 2024 12:32:34 +0100 (CET) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id D974540263 for ; Wed, 30 Oct 2024 12:32:32 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id CDD5921B11; Wed, 30 Oct 2024 12:32:31 +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 12:32:30 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F84E@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: AdsqvsoKEv2QEnmbTAWrW/OjQzjxiwAADvqQ References: <20241017142214.1669370-1-bruce.richardson@intel.com> <20241025165020.1856733-1-bruce.richardson@intel.com> <20241025165020.1856733-6-bruce.richardson@intel.com> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Bruce Richardson" , "David Marchand" Cc: , "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 and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Err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