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 B95E7A09EE for ; Tue, 15 Dec 2020 04:19:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 970E1C96A; Tue, 15 Dec 2020 04:18:59 +0100 (CET) Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by dpdk.org (Postfix) with ESMTP id 1794AA3; Tue, 15 Dec 2020 04:18:54 +0100 (CET) Received: from dggeme753-chm.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Cw3Nr2h98z5524; Tue, 15 Dec 2020 11:18:04 +0800 (CST) Received: from dggemi751-chm.china.huawei.com (10.1.198.137) by dggeme753-chm.china.huawei.com (10.3.19.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1913.5; Tue, 15 Dec 2020 11:18:50 +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; Tue, 15 Dec 2020 11:18:50 +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/TRKn2KD2AgAE9QiA= Date: Tue, 15 Dec 2020 03:18:50 +0000 Message-ID: <08610910793145a78cbc84e2f43d5e8b@huawei.com> References: <1605706193-17192-1-git-send-email-luyicai@huawei.com> <1607771130-13648-1-git-send-email-luyicai@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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQW5hbnlldiwgS29uc3Rh bnRpbiBbbWFpbHRvOmtvbnN0YW50aW4uYW5hbnlldkBpbnRlbC5jb21dIA0KPiBTZW50OiBNb25k YXksIERlY2VtYmVyIDE0LCAyMDIwIDEwOjQ1IFBNDQo+IFRvOiBsdXlpY2FpIDxsdXlpY2FpQGh1 YXdlaS5jb20+OyBkZXZAZHBkay5vcmcNCj4gQ2M6IFpob3VqaW5nYmluIChSb2JpbiwgUnVzc2Vs bCBMYWIpIDx6aG91amluZ2JpbkBodWF3ZWkuY29tPjsgY2hlbmNoYW5naHUgPGNoZW5jaGFuZ2h1 QGh1YXdlaS5jb20+OyBMaWxpanVuIChKZXJyeSkgPGplcnJ5LmxpbGlqdW5AaHVhd2VpLmNvbT47 IExpbmhhaWZlbmcgPGhhaWZlbmcubGluQGh1YXdlaS5jb20+OyBHdW9ob25nemhpIChSdXNzZWxs IExhYikgPGd1b2hvbmd6aGkxQGh1YXdlaS5jb20+OyB3YW5neXVuamlhbiA8d2FuZ3l1bmppYW5A aHVhd2VpLmNvbT47IHN0YWJsZUBkcGRrLm9yZw0KPiBTdWJqZWN0OiBSRTogW2RwZGstZGV2XSBb UEFUQ0ggdjVdIGlwX2ZyYWc6IHJlbW92ZSBwYWRkaW5nIGxlbmd0aCBvZiBmcmFnbWVudA0KDQoN Cj4gSGkgWWljYWksDQogDQo+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5ldCBmcmFtZSANCj4gbGVuZ3RoLCBzbyBpdCBuZWVkcyB0byBiZSBwYWRkZWQu DQo+IA0KPiB8LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tfA0KPiB8ICAgICAgICAgICAgICAgICAgICAgIEhPU1QgICAgICAgICAgICAgICAgICAgICAg ICAgfA0KPiB8IHwtLS0tLS0tLS0tLS0tLXwgICB8LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LXwgfA0KPiB8IHwgICAgICBuczIgICAgIHwgICB8ICAgICAgfC0tLS0tLS0tLS0tLS0tfCAgICAg IHwgfA0KPiB8IHwgIHwtLS0tLS0tLXwgIHwgICB8ICB8LS0tLS0tLS18ICAgIHwtLS0tLS0tLXwg IHwgfA0KPiB8IHwgIHwgIHRhcDEgIHwgIHwgICB8ICB8ICB0YXAyICB8IG5zMXwgIHRhcDMgIHwg IHwgfA0KPiB8IHwgIHxtdHU9MTUxMHwgIHwgICB8ICB8bXR1PTE1MTB8ICAgIHxtdHU9MTUwMHwg IHwgfA0KPiB8IHwtLXwxLjEuMS4xIHwtLXwgICB8LS18MS4xLjEuMiB8LS0tLXwyLjEuMS4xIHwt LXwgfA0KPiB8ICAgIHwtLS0tLS0tLXwgICAgICAgICB8LS0tLS0tLS18ICAgIHwtLS0tLS0tLXwg ICAgfA0KPiB8ICAgICAgICAgfCAgICAgICAgICAgICAgICAgfCAgICAgICAgICAgICAgfCAgICAg ICAgfA0KPiB8ICAgICAgICAgfC0tLS0tLS0tLS0tLS0tLS0tfCAgICAgICAgICAgICAgfCAgICAg ICAgfA0KPiB8ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAgICAg ICAgfA0KPiB8ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8LS0tLS0tLS18 ICAgfA0KPiB8ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB8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