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 39886A0547; Wed, 27 Oct 2021 13:29:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AFB3E4068C; Wed, 27 Oct 2021 13:29:55 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id DCCBF4003F; Wed, 27 Oct 2021 13:29:53 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Date: Wed, 27 Oct 2021 13:29:52 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D86C6A@smartserver.smartshare.dk> X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: <66ba870b-947f-29aa-45da-0e6f930b2398@intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [dpdk-dev] [PATCH v3] app/testpmd: fix l4 sw csum over multi segments Thread-Index: AdfLIDqVjckYdwUMRCaf9Z38XBzbJgABC3WA References: <20211015051306.320328-1-xiaoyun.li@intel.com> <20211020101243.203063-1-xiaoyun.li@intel.com> <66ba870b-947f-29aa-45da-0e6f930b2398@intel.com> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Ferruh Yigit" , "Xiaoyun Li" , , , "Olivier Matz" Cc: , , "Vladimir Medvedkin" Subject: Re: [dpdk-dev] [PATCH v3] app/testpmd: fix l4 sw csum over multi segments 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 Sender: "dev" PiBGcm9tOiBkZXYgW21haWx0bzpkZXYtYm91bmNlc0BkcGRrLm9yZ10gT24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