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 6CB4AA2EEB for ; Wed, 11 Sep 2019 13:41:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4B9961E947; Wed, 11 Sep 2019 13:41:46 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id C4BAE1E947 for ; Wed, 11 Sep 2019 13:41:43 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Sep 2019 04:41:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,493,1559545200"; d="scan'208";a="209643323" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by fmsmga004.fm.intel.com with ESMTP; 11 Sep 2019 04:41:41 -0700 Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by irsmsx105.ger.corp.intel.com (163.33.3.28) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 11 Sep 2019 12:41:41 +0100 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.164]) by irsmsx112.ger.corp.intel.com ([169.254.1.33]) with mapi id 14.03.0439.000; Wed, 11 Sep 2019 12:41:41 +0100 From: "Ananyev, Konstantin" To: "Van Haaren, Harry" , Stephen Hemminger , =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= CC: "olivier.matz@6wind.com" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] mbuf: add bulk free function Thread-Index: AQHVaIIKl9jJnm9XQUWSpwTDFHM2QKcmQ4QAgAADMACAABKIEA== Date: Wed, 11 Sep 2019 11:41:40 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772580191962C86@irsmsx105.ger.corp.intel.com> References: <20190911091908.123151-1-mb@smartsharesystems.com> <20190911121834.4ec73590@xps13> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOGYzNTE2MmEtM2YwOS00ZjU2LWEzNzYtNzJjYzJlNzQ2MTkzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWmN2RE5GVzV6OHEweHlTdjVCTThtQ0JaODlaMjVXOFRFM0xtaG5sWkVRQ2hITnVcLzZYbGZEb3pjNnozMUo4ZHYifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] mbuf: add bulk free function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IFttYWlsdG86ZGV2 LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBWYW4gSGFhcmVuLCBIYXJyeQ0KPiBTZW50 OiBXZWRuZXNkYXksIFNlcHRlbWJlciAxMSwgMjAxOSAxMjozMCBQTQ0KPi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BmcmVlIGJ1ZmZlcnMgb25lIGF0IGEgdGltZSAqLw0KICAgICAgICAgICAgICAgIG0gPSBydGVf cGt0bWJ1Zl9wcmVmcmVlX3NlZyh0eGVwLT5tYnVmKTsNCiAgICAgICAgICAgICAgICB0eGVwLT5t YnVmID0gTlVMTDsNCg0KICAgICAgICAgICAgICAgIGlmICh1bmxpa2VseShtID09IE5VTEwpKQ0K ICAgICAgICAgICAgICAgICAgICAgICAgY29udGludWU7DQoNCiAgICAgICAgICAgICAgICBpZiAo bmJfZnJlZSA+PSBSVEVfSVhHQkVfVFhfTUFYX0ZSRUVfQlVGX1NaIHx8DQogICAgICAgICAgICAg ICAgICAgIChuYl9mcmVlID4gMCAmJiBtLT5wb29sICE9IGZyZWVbMF0tPnBvb2wpKSB7DQogICAg ICAgICAgICAgICAgICAgICAgICBydGVfbWVtcG9vbF9wdXRfYnVsayhmcmVlWzBdLT5wb29sLA0K ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKHZvaWQgKiopZnJl ZSwgbmJfZnJlZSk7DQogICAgICAgICAgICAgICAgICAgICAgICBuYl9mcmVlID0gMDsNCiAgICAg ICAgICAgICAgICB9DQoNCiAgICAgICAgICAgICAgICBmcmVlW25iX2ZyZWUrK10gPSBtOw0KICAg ICAgICB9DQp9DQoNCk9mIGNvdXJzZSBnZW5lcmljIGZ1bmN0aW9uIHdpbGwgYWxzbyBuZWVkIHRv IGdvIHRocm91Z2ggYWxsIHNlZ21lbnRzIGluIGVhY2ggcGFja2V0Lg0KIA0KPiBXZSBjb3VsZCBj b25zaWRlciBhZGRpbmcgYSAybmQgZnVuY3Rpb25zLCBydGVfcGt0bWJ1Zl9mcmVlX2J1bGtfdG9f c2luZ2xlX21lbXBvb2woKQ0KPiBvciBzb21lIGJldHRlciBkZXNjcmlwdGl2ZSBuYW1lLg0KDQpQ cm9iYWJseSBhIGdvb2QgaWRlYSB0b28uDQpLb25zdGFudGluDQoNCg0K