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 66CA6A0548; Tue, 22 Jun 2021 14:32:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D8FDD4003F; Tue, 22 Jun 2021 14:32:58 +0200 (CEST) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by mails.dpdk.org (Postfix) with ESMTP id EA6154003C; Tue, 22 Jun 2021 14:32:56 +0200 (CEST) Received: from dggeme710-chm.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4G8Qdr5KDWzXjpX; Tue, 22 Jun 2021 20:27:44 +0800 (CST) Received: from dggpemm500008.china.huawei.com (7.185.36.136) by dggeme710-chm.china.huawei.com (10.1.199.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 22 Jun 2021 20:32:53 +0800 Received: from dggpemm500008.china.huawei.com ([7.185.36.136]) by dggpemm500008.china.huawei.com ([7.185.36.136]) with mapi id 15.01.2176.012; Tue, 22 Jun 2021 20:32:53 +0800 From: wangyunjian To: Ferruh Yigit , "dev@dpdk.org" CC: "thomas@monjalon.net" , "gowrishankar.m@linux.vnet.ibm.com" , dingxiaoxiong , "stable@dpdk.org" , "liucheng (J)" Thread-Topic: [PATCH v2] kni: fix wrong mbuf alloc count in kni_allocate_mbufs Thread-Index: AQHXZ1V/0sV3OrDTbECFW9Q3U9kkeKsfby6AgACG7lA= Date: Tue, 22 Jun 2021 12:32:53 +0000 Message-ID: References: <4ebfe0d38b335a437edc9c58368153d005f562ce.1622460655.git.wangyunjian@huawei.com> <4aebf99afe5bae2b25f2e5445a32243ffd6f7e97.1624359204.git.wangyunjian@huawei.com> <4edb86a1-7629-9cc8-8068-702318234904@intel.com> In-Reply-To: <4edb86a1-7629-9cc8-8068-702318234904@intel.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.174.243.60] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] [PATCH v2] kni: fix wrong mbuf alloc count in kni_allocate_mbufs 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBGZXJydWggWWlnaXQgW21haWx0 bzpmZXJydWgueWlnaXRAaW50ZWwuY29tXQ0KPiBTZW50OiBUdWVzZGF5LCBKdW5lIDIyLCAyMDIx IDg6MjggUE0NCj4gVG86IHdhbmd5dW5qaWFuIDx3YW5neXVuamlhbkBodWF3ZWkuY29tPjsgZGV2 QGRwZGsub3JnDQo+IENjOiB0aG9tYXNAbW9uamFsb24ubmV0OyBnb3dyaXNoYW5rYXIubUBsaW51 eC52bmV0LmlibS5jb207DQo+IGRpbmd4aWFveGlvbmcgPGRpbmd4aWFveGlvbmdAaHVhd2VpLmNv bT47IHN0YWJsZUBkcGRrLm9yZzsgbGl1Y2hlbmcgKEopDQo+IDxsaXVjaGVuZzExQGh1YXdlaS5j b20+DQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0ggdjJdIGtuaTogZml4IHdyb25nIG1idWYgYWxsb2Mg Y291bnQgaW4ga25pX2FsbG9jYXRlX21idWZzDQo+IA0KPiBPbiA2LzIyLzIwMjEgMTE6NTcgQU0s IHdhbmd5dW5qaWFuIHdyb3RlOg0KPiA+IEZyb206IFl1bmppYW4gV2FuZyA8d2FuZ3l1bmppYW5A aHVhd2VpLmNvbT4NCj4gPg0KPiA+IE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