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 2B3C745C87; Tue, 5 Nov 2024 10:09:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B0AC34025D; Tue, 5 Nov 2024 10:09:23 +0100 (CET) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 3BD40400EF for ; Tue, 5 Nov 2024 10:09:22 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id F405B21D11; Tue, 5 Nov 2024 10:09:21 +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] net: fix IPv4 cksum simple function Date: Tue, 5 Nov 2024 10:09:22 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F877@smartserver.smartshare.dk> X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: <20241105085912.4148208-1-david.marchand@redhat.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] net: fix IPv4 cksum simple function Thread-Index: AdsvYQg77RycE9ciQQG3BWeBpKo44QAAEJ2w References: <20241105085912.4148208-1-david.marchand@redhat.com> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "David Marchand" , , "Robin Jarry" Cc: "Stephen Hemminger" , "Chengwen Feng" , "Bruce Richardson" 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: , Errors-To: dev-bounces@dpdk.org PiBGcm9tOiBEYXZpZCBNYXJjaGFuZCBbbWFpbHRvOmRhdm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