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 A5DD91B138 for ; Wed, 12 Dec 2018 07:53:09 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Dec 2018 22:53:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,343,1539673200"; d="scan'208";a="117659779" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga002.jf.intel.com with ESMTP; 11 Dec 2018 22:53:08 -0800 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 11 Dec 2018 22:53:08 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 11 Dec 2018 22:53:07 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.201]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.210]) with mapi id 14.03.0415.000; Wed, 12 Dec 2018 14:53:06 +0800 From: "Wang, Xiao W" To: "Bie, Tiwei" CC: "maxime.coquelin@redhat.com" , "dev@dpdk.org" , "Wang, Zhihong" , "Ye, Xiaolong" Thread-Topic: [PATCH 6/9] net/ifc: add devarg for LM mode Thread-Index: AQHUhwCmzjYSk3XBE0Sr4KpyS19MdaVtofeAgA0eRiA= Date: Wed, 12 Dec 2018 06:53:05 +0000 Message-ID: References: <20181128094607.106173-1-xiao.w.wang@intel.com> <20181128094607.106173-7-xiao.w.wang@intel.com> <20181204063150.GA20433@btwcube1> In-Reply-To: <20181204063150.GA20433@btwcube1> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWM4ODVhNmEtNmY2Zi00OGQ5LWE2ZTktYTQ2NWJlMGQzMTFlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoidSt6WmVhdFEwTjF6cGVheDREK0M0aVBERHZXZ0FHMWh6RzBlRzVVOUhhZFBJRkd0ZlwvTWdtTEVQcXNzTGlJdnAifQ== dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action 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] [PATCH 6/9] net/ifc: add devarg for LM mode 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, 12 Dec 2018 06:53:10 -0000 SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQmllLCBUaXdlaQ0K PiBTZW50OiBNb25kYXksIERlY2VtYmVyIDMsIDIwMTggMTA6MzIgUE0NCj4gVG86IFdhbmcsIFhp YW8gVyA8eGlhby53LndhbmdAaW50ZWwuY29tPg0KPiBDYzogbWF4aW1lLmNvcXVlbGluQHJlZGhh dC5jb207IGRldkBkcGRrLm9yZzsgV2FuZywgWmhpaG9uZw0KPiA8emhpaG9uZy53YW5nQGludGVs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