From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 19B22A09EF for ; Wed, 16 Dec 2020 11:54:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E3C18C99E; Wed, 16 Dec 2020 11:54:10 +0100 (CET) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by dpdk.org (Postfix) with ESMTP id 2EE6AC996; Wed, 16 Dec 2020 11:54:08 +0100 (CET) Received: from DGGEMM404-HUB.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4CwsRH10Vdz13VDJ; Wed, 16 Dec 2020 18:52:59 +0800 (CST) Received: from dggema772-chm.china.huawei.com (10.1.198.214) by DGGEMM404-HUB.china.huawei.com (10.3.20.212) with Microsoft SMTP Server (TLS) id 14.3.498.0; Wed, 16 Dec 2020 18:54:02 +0800 Received: from dggemi751-chm.china.huawei.com (10.1.198.137) by dggema772-chm.china.huawei.com (10.1.198.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1913.5; Wed, 16 Dec 2020 18:54:01 +0800 Received: from dggemi751-chm.china.huawei.com ([10.1.198.137]) by dggemi751-chm.china.huawei.com ([10.1.198.137]) with mapi id 15.01.2106.002; Wed, 16 Dec 2020 18:54:01 +0800 From: luyicai To: "Ananyev, Konstantin" , "dev@dpdk.org" CC: "Zhoujingbin (Robin, Russell Lab)" , chenchanghu , "Lilijun (Jerry)" , Linhaifeng , "Guohongzhi (Russell Lab)" , wangyunjian , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v5] ip_frag: remove padding length of fragment Thread-Index: AQHW0HbgEikIk7tUv0i2SAM8V5/TRKn2KD2AgAE9QiCAAaRzAIAAhpRw Date: Wed, 16 Dec 2020 10:54:01 +0000 Message-ID: References: <1605706193-17192-1-git-send-email-luyicai@huawei.com> <1607771130-13648-1-git-send-email-luyicai@huawei.com> <08610910793145a78cbc84e2f43d5e8b@huawei.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.174.243.72] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v5] ip_frag: remove padding length of fragment X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" DQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBBbmFueWV2LCBLb25zdGFudGlu IFttYWlsdG86a29uc3RhbnRpbi5hbmFueWV2QGludGVsLmNvbV0gDQpTZW50OiBXZWRuZXNkYXks IERlY2VtYmVyIDE2LCAyMDIwIDY6NDUgUE0NClRvOiBsdXlpY2FpIDxsdXlpY2FpQGh1YXdlaS5j b20+OyBkZXZAZHBkay5vcmcNCkNjOiBaaG91amluZ2JpbiAoUm9iaW4sIFJ1c3NlbGwgTGFiKSA8 emhvdWppbmdiaW5AaHVhd2VpLmNvbT47IGNoZW5jaGFuZ2h1IDxjaGVuY2hhbmdodUBodWF3ZWku Y29tPjsgTGlsaWp1biAoSmVycnkpIDxqZXJyeS5saWxpanVuQGh1YXdlaS5jb20+OyBMaW5oYWlm ZW5nIDxoYWlmZW5nLmxpbkBodWF3ZWkuY29tPjsgR3VvaG9uZ3poaSAoUnVzc2VsbCBMYWIpIDxn dW9ob25nemhpMUBodWF3ZWkuY29tPjsgd2FuZ3l1bmppYW4gPHdhbmd5dW5qaWFuQGh1YXdlaS5j b20+OyBzdGFibGVAZHBkay5vcmcNClN1YmplY3Q6IFJFOiBbZH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