From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 99E681B939 for ; Fri, 14 Dec 2018 16:52:38 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Dec 2018 07:52:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,353,1539673200"; d="scan'208";a="109545699" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga008.fm.intel.com with ESMTP; 14 Dec 2018 07:52:37 -0800 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 14 Dec 2018 07:52:37 -0800 Received: from fmsmsx117.amr.corp.intel.com ([169.254.3.209]) by fmsmsx111.amr.corp.intel.com ([169.254.12.61]) with mapi id 14.03.0415.000; Fri, 14 Dec 2018 07:52:37 -0800 From: "Wiles, Keith" To: =?utf-8?B?UmFmYcWCIEtvemlr?= CC: Thomas Monjalon , "Yigit, Ferruh" , dev , Marcin Wojtas , =?utf-8?B?TWljaGHFgiBLcmF3Y3p5aw==?= , "Tzalik, Guy" , "Schmeilin, Evgeny" , "Matushevsky, Alexander" , "Chauskin, Igor" Thread-Topic: [dpdk-dev] [PATCH][pktgen] fix repopulation of tx_mbufs table Thread-Index: AQHUk5/dtNdMhlDd00iYjbXhBl244qV+4nIAgAAEXYCAAADWgIAAAUgA Date: Fri, 14 Dec 2018 15:52:37 +0000 Message-ID: <75E18993-0FA3-4B87-9A61-CDA93DE4D849@intel.com> References: <1542961382-5234-1-git-send-email-rk@semihalf.com> <15FDA5E7-5A45-4ACF-83B5-55328BA117EB@intel.com> <7E4EC658-807D-43FB-9622-4B72A13C1CE0@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.38.234] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH][pktgen] fix repopulation of tx_mbufs table 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: Fri, 14 Dec 2018 15:52:39 -0000 DQoNCj4gT24gRGVjIDE0LCAyMDE4LCBhdCA5OjQ4IEFNLCBSYWZhxYIgS296aWsgPHJrQHNlbWlo YWxmLmNvbT4gd3JvdGU6DQo+IA0KPiBwdC4sIDE0IGdydSAyMDE4IG8gMTY6NDUgV2lsZXMsIEtl aXRoIDxrZWl0aC53aWxlc0BpbnRlbC5jb20+IG5hcGlzYcWCKGEpOg0KPj4gDQo+PiANCj4+IA0K Pj4+IE9uIERlYyAxNCwgMjAxOCwgYXQgOToyOSBBTSwgV2lsZXMsIEtlaXRoIDxrZWl0aC53aWxl c0BpbnRlbC5jb20+IHdyb3RlOg0KPj4+IA0KPj4+IA0KPj4+IA0KPj4+PiBPbiBEZWMgMTQsIDIw MTgsIGF0IDU6MjYgQU0sIFJhZmHFgiBLb3ppayA8cmtAc2VtaWhhbGYuY29tPiB3cm90ZToNCj4+ Pj4gDQo+Pj4+IEhlbGxvIEtlaXRoLA0KPj4+PiANCj4+Pj4gYXMgZnJvbSBteSBsYXN0IHBvc3Qg cGFzc2VkIGFib3V0IHRocmVlIHdlZWtzIEkgd291bGQga2luZGx5IGFzaw0KPj4+PiBpZiB5b3Ug Y291bGQgcHJvdmlkZSBhbnkgY29tbWVudHMgYWJvdXQgdGhpcyBwYXRjaD8NCj4+PiANCj4+PiBN aXNzZWQgdGhpcyBwYXRjaCBvcmlnaW5hbGx5IGFzIGl0IGRpZCBub3QgaGF2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