From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 32D34A00E6 for ; Fri, 14 Jun 2019 16:48:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0096A1D55D; Fri, 14 Jun 2019 16:48:17 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 74EFC1D53A for ; Fri, 14 Jun 2019 16:48:15 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jun 2019 07:48:14 -0700 X-ExtLoop1: 1 Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by orsmga003.jf.intel.com with ESMTP; 14 Jun 2019 07:48:13 -0700 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.238]) by IRSMSX108.ger.corp.intel.com ([169.254.11.121]) with mapi id 14.03.0415.000; Fri, 14 Jun 2019 15:48:12 +0100 From: "Ferriter, Cian" To: "Yigit, Ferruh" , "Richardson, Bruce" , "Mcnamara, John" , "Kovacevic, Marko" CC: "dev@dpdk.org" Thread-Topic: [PATCH 19.08 v2] net/pcap: enable infinitely rxing a pcap file Thread-Index: AQHVG5ZS7MTyWzwKCU+/lfoD9Re45qaNAYAwgAsHuICAAaDhgA== Date: Fri, 14 Jun 2019 14:48:12 +0000 Message-ID: <579B86492DFB364BBA627A48FB30C90E75D6838F@IRSMSX102.ger.corp.intel.com> References: <20190605115620.32047-1-cian.ferriter@intel.com> <579B86492DFB364BBA627A48FB30C90E75D518F7@IRSMSX102.ger.corp.intel.com> <7ac9657f-e67b-ffc0-1aa3-91693f497aeb@intel.com> In-Reply-To: <7ac9657f-e67b-ffc0-1aa3-91693f497aeb@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTdjMjUzMmEtNzg1ZC00MzAwLWE5YTAtMzk4YjhkN2FhM2Y3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoic2dSUzFON3FPOFkxcHpvMFZRNXJUdzJrQXY2c3Rid2VRV2pwMHNWbEpack1oOTJBRzY2Z0ZJc0o2Q0tYdVBydyJ9 dlp-product: dlpe-windows dlp-version: 11.0.600.7 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 19.08 v2] net/pcap: enable infinitely rxing a pcap file 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" SGkgRmVycnVoLA0KDQpUaGFua3MgZm9yIHRoZSByZXZpZXcuDQoNCkkndmUgc2VuZCBhIHYzIGFu ZCByZXNwb25kZWQgdG8geW91ciBjb21tZW50cyBiZWxvdy4NCg0KVGhhbmtzLA0KQ2lhbg0KDQo+ IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IFlpZ2l0LCBGZXJydWgNCj4gU2Vu dDogMTIgSnVuZSAyMDE5IDE1OjEwDQo+IFRvOiBGZXJyaXRl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