From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3DF5BA04F1; Fri, 13 Dec 2019 15:53:04 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E6FDF1BFC7; Fri, 13 Dec 2019 15:53:03 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 5A36C1BF95 for ; Fri, 13 Dec 2019 15:53:01 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Dec 2019 06:53:00 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,309,1571727600"; d="scan'208";a="216455907" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga006.jf.intel.com with ESMTP; 13 Dec 2019 06:52:59 -0800 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 13 Dec 2019 06:52:48 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 13 Dec 2019 06:52:47 -0800 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.72]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.29]) with mapi id 14.03.0439.000; Fri, 13 Dec 2019 22:52:45 +0800 From: "Sun, Chenmin" To: "Ananyev, Konstantin" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [FDIO] dpdk: add devargs support Thread-Index: AQHVscK+9a696aYdbEe7GfzmsCo6lae3n8aAgACGhwA= Date: Fri, 13 Dec 2019 14:52:44 +0000 Message-ID: References: <20191213233554.90866-1-chenmin.sun@intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [FDIO] dpdk: add devargs support 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" T2hoaGggSSdtIHNvcnJ5Li4uDQoNCkJlc3QgUmVnYXJkcywNClN1biwgQ2hlbm1pbg0KDQotLS0t LU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogQW5hbnlldiwgS29uc3RhbnRpbiANClNlbnQ6 IEZyaWRheSwgRGVjZW1iZXIgMTMsIDIwMTkgMTA6NTEgUE0NClRvOiBTdW4sIENoZW5taW4gPGNo ZW5taW4uc3VuQGludGVsLmNvbT47IGRldkBkcGRrLm9yZw0KU3ViamVjdDogUkU6IFtkcGRrLWRl dl0gW0ZESU9dIGRwZGs6IGFkZCBkZXZhcmdzIHN1cHBvcnQNCg0KDQoNCj4gRnJvbTogQ2hlbm1p biBTdW4gPGNoZW5taW4uc3VuQGludGVsLmNvbT4NCj4gDQo+IFR5cGU6IGZlYXR1cmUNCj4gDQo+ IFRoaXMgcGF0Y2ggYWRkcyB0aGUgZGV2YXJncyBzdXBwb3J0IGZvciBkcGRrIGRldmljZSBUaGUg ZGV2YXJncyBhcmUgDQo+IHVzZWQgYXMgaGFyZHdhcmUtc3BlY2lmaWMgaW5pdCBhcmdzIGZvciBk cGRrIGRldmljZXMgcGxlYXNlIHJlZmVyIHRvIA0KPiB0aGUgbmljIGd1aWRlcyB1bmRlciAkKERQ REtfRElSKS9kb2MvZ3VpZGVzL25pY3MvJChOSUNfRFJJVkVSKS5y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