From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 741042C6D for ; Wed, 6 Sep 2017 16:54:19 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Sep 2017 07:53:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,484,1498546800"; d="scan'208";a="308616623" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by fmsmga004.fm.intel.com with ESMTP; 06 Sep 2017 07:53:54 -0700 Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by IRSMSX102.ger.corp.intel.com (163.33.3.155) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 6 Sep 2017 15:53:53 +0100 Received: from irsmsx105.ger.corp.intel.com ([169.254.7.75]) by irsmsx112.ger.corp.intel.com ([169.254.1.110]) with mapi id 14.03.0319.002; Wed, 6 Sep 2017 15:53:53 +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/H3F5AsqKk5AuAgALmuICAACQYsIAAEMsAgAAg0vA= Date: Wed, 6 Sep 2017 14:53:52 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772584F2482B0@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> <2601191342CEEE43887BDE71AB9772584F248208@irsmsx105.ger.corp.intel.com> <1504706130.2192.11.camel@gmail.com> In-Reply-To: <1504706130.2192.11.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 14:54:20 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQ2hhcyBXaWxsaWFtcyBb bWFpbHRvOjNjaGFzM0BnbWFpbC5jb21dDQo+IFNlbnQ6IFdlZG5lc2RheSwgU2VwdGVtYmVyIDYs IDIwMTcgMjo1NiBQTQ0KPiBUbzogQW5hbnlldiwgS29uc3RhbnRpbiA8a29uc3RhbnRpbi5hbmFu eWV2QGludGVsLmNvbT47IE5pY29sYXUsIFJhZHUgPHJhZHUubmljb2xhdUBpbnRlbC5jb20+OyBk ZXZAZHBkay5vcmcNCj4gQ2M6IG9saXZpZXIubWF0ekA2d2luZC5jb207IGN3ODE3cUBhdHQuY29t DQo+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZdIFtQQVRDSCB2Ml0gbWJ1ZjogdXNlIHJlZmNudCA9 IDAgd2hlbiBkZWJ1Z2dpbmcNCj4gDQo+IE9uIFdlZCwgMjAxNy0wOS0wNiBhdCAxMTo1OCArMDAw MCwgQW5hbnlldiwgS29uc3RhbnRpbiB3cm90ZToNCj4gPg0KPiA+ID4gLS0tLS1PcmlnaW5hbCBN ZXNzYWdlLS0tLS0NCj4gPiA+IEZyb206IGRldiBbbWFpbHRvOmRldi1ib3VuY2VzQGRwZGsub3Jn XSBPbiBCZWhhbGYgT2YgQ2hhcyBXaWxsaWFtcw0KPiA+ID4gU2VudDogV2VkbmVzZ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