From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id BD0BC1B53 for ; Tue, 28 Nov 2017 18:50:17 +0100 (CET) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Nov 2017 09:50:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,468,1505804400"; d="scan'208";a="178804782" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 28 Nov 2017 09:50:16 -0800 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 28 Nov 2017 09:50:16 -0800 Received: from fmsmsx105.amr.corp.intel.com ([169.254.4.92]) by FMSMSX113.amr.corp.intel.com ([169.254.13.251]) with mapi id 14.03.0319.002; Tue, 28 Nov 2017 09:50:15 -0800 From: "Walker, Benjamin" To: "alejandro.lucero@netronome.com" CC: "thomas@monjalon.net" , "Gonzalez Monroy, Sergio" , "Burakov, Anatoly" , "Tan, Jianfeng" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] Running DPDK as an unprivileged user Thread-Index: AQHTVct+W/VtktB/kkmEEmHlFBNzh6MpLR2AgAFUTQCAADvIAA== Date: Tue, 28 Nov 2017 17:50:14 +0000 Message-ID: <1511891412.2692.95.camel@intel.com> References: <1483044080.11975.1.camel@intel.com> <1483565664.9482.3.camel@intel.com> <6c6766f0-145e-9354-e275-d107d69173c3@intel.com> <2179627.cU6MQpMJOa@xps> <1511805495.2692.82.camel@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [143.182.136.59] Content-Type: text/plain; charset="utf-8" Content-ID: <03EC9D91D1D3D041B6D716703073442C@intel.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] Running DPDK as an unprivileged user 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: Tue, 28 Nov 2017 17:50:18 -0000 T24gVHVlLCAyMDE3LTExLTI4IGF0IDE0OjE2ICswMDAwLCBBbGVqYW5kcm8gTHVjZXJvIHdyb3Rl Og0KPiANCj4gDQo+IE9uIE1vbiwgTm92IDI3LCAyMDE3IGF0IDU6NTggUE0sIFdhbGtlciwgQmVu amFtaW4gPGJlbmphbWluLndhbGtlckBpbnRlbC5jb20+DQo+IHdyb3RlOg0KPiA+IE9uIFN1biwg MjAxNy0xMS0wNSBhdCAwMToxNyArMDEwMCwgVGhvbWFzIE1vbmphbG9uIHdyb3RlOg0KPiA+ID4g SGksIHJlc3RhcnRpbmcgYW4gb2xkIHRvcGljLA0KPiA+ID4NCj4gPiA+IDA1LzAxLzIwMTcgMTY6 NTIsIFRhbiwgSmlhbmZlbmc6DQo+ID4gPiA+IE9uIDEvNS8yMDE3IDU6MzQgQU0sIFdhbGtlciwg QmVuamFtaW4gd3JvdGU6DQo+ID4gPiA+ID4gPiA+IE5vdGUgdGhhdCB0aGlzDQo+ID4gPiA+ID4g PiA+IHByb2JhYmx5IG1lYW5zIHRoYXQgdXNpbmcgdWlvIG9uIHJlY2VudCBrZXJuZWxzIGlzIHN1 YnRseQ0KPiA+ID4gPiA+ID4gPiBicm9rZW4gYW5kIGNhbm5vdCBiZSBzdXBwb3J0ZWQgZ29pbmcg Zm9yd2FyZCBiZWNhdXNlIHRoZXJlDQo+ID4gPiA+ID4gPiA+IGlzIG5vIHVpbyBtZWNoYW5pc20g dG8gcGluIHRoZSBtZW1vcnkuDQo+ID4gPiA+ID4gPiA+DQo+ID4gPiA+ID4gPiA+IFRoZSBmaXJz dCBvcGVuIHF1ZXN0a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