From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id EFC81968 for ; Wed, 6 Sep 2017 13:58:50 +0200 (CEST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Sep 2017 04:58:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,483,1498546800"; d="scan'208";a="148103975" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by fmsmga005.fm.intel.com with ESMTP; 06 Sep 2017 04:58:48 -0700 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.75]) by IRSMSX104.ger.corp.intel.com ([163.33.3.159]) with mapi id 14.03.0319.002; Wed, 6 Sep 2017 12:58:48 +0100 From: "Ananyev, Konstantin" To: Chas Williams <3chas3@gmail.com>, "Nicolau, Radu" , "dev@dpdk.org" CC: "olivier.matz@6wind.com" , "cw817q@att.com" Thread-Topic: [dpdk-dev] [PATCH v2] mbuf: use refcnt = 0 when debugging Thread-Index: AQHTD5fmwatZxN94aEiyV1/H3F5AsqKk5AuAgALmuICAACQYsA== Date: Wed, 6 Sep 2017 11:58:47 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772584F248208@irsmsx105.ger.corp.intel.com> References: <1502120243-8902-1-git-send-email-ciwillia@brocade.com> <1502122274-15657-1-git-send-email-ciwillia@brocade.com> <1504694773.2192.9.camel@gmail.com> In-Reply-To: <1504694773.2192.9.camel@gmail.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 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 v2] mbuf: use refcnt = 0 when debugging 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: , X-List-Received-Date: Wed, 06 Sep 2017 11:58:51 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IFttYWlsdG86ZGV2 LWJvdW5jZXNAZHBkay5vcmddIE9uIEJlaGFsZiBPZiBDaGFzIFdpbGxpYW1zDQo+IFNlbnQ6IFdl ZG5lc2RheSwgU2VwdGVtYmVyIDYsIDIwMTcgMTE6NDYgQU0NCj4gVG86IE5pY29sYXUsIFJhZHUg PHJhZHUubmljb2xhdUBpbnRlbC5jb20+OyBkZXZAZHBkay5vcmcNCj4gQ2M6IG9saXZpZXIubWF0 ekA2d2luZC5jb207IGN3ODE3cUBhdHQuY29tDQo+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQ QVRDSCB2Ml0gbWJ1ZjogdXNlIHJlZmNudCA9IDAgd2hlbiBkZWJ1Z2dpbmcNCj4gDQo+IFtOb3Rl OiBNeSBmb3JtZXIgZW1haWwgYWRkcmVzcyBpcyBnb2luZyBhd2F5IGV2ZW50dWFsbHkuICBJIGFt IG1vdmluZyB0aGUNCj4gY29udmVyc2F0aW9uIHRvIG15IG90aGVyIGVtYWlsIGFkZHJlc3Mgd2hp Y2ggaXMgYSBiaXQgbW9yZSBwZXJtYW5lbnQuXQ0KPiANCj4gT24gTW9uLCAyMDE3LTA5LTA0IGF0 IDE1OjI3ICswMTAwLCBSYWR1IE5pY29sYXUgd3JvdGU6DQo+ID4NCj4gPiBPbiA4LzcvMjAxNyA1 OjExIFBNLCBDaGFybGVzIChDaGFzKSBXaWxsaWFtcyB3cm90ZToNCj4gPiA+IEFmdGVyIGNvbW1p dCA4ZjA5NGE5YWM1ZDcgKCJtYnVmOiBzZXQgbWJ1ZiBmaWVsZHMgd2hpbGUgaW4gcG9vbCIpIGlz IGl0DQo+ID4gPiB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