From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 6A9671B141 for ; Wed, 12 Dec 2018 11:23:36 +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 fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Dec 2018 02:23:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,344,1539673200"; d="scan'208,217";a="108925803" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga008.fm.intel.com with ESMTP; 12 Dec 2018 02:23:35 -0800 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 12 Dec 2018 02:23:35 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 12 Dec 2018 02:23:34 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.201]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.203]) with mapi id 14.03.0415.000; Wed, 12 Dec 2018 18:23:32 +0800 From: "Wang, Xiao W" To: Alejandro Lucero CC: "Bie, Tiwei" , Maxime Coquelin , dev , "Wang, Zhihong" , "Ye, Xiaolong" Thread-Topic: [dpdk-dev] [PATCH 6/9] net/ifc: add devarg for LM mode Thread-Index: AQHUhwCmzjYSk3XBE0Sr4KpyS19MdaV6cwqAgACICOA= Date: Wed, 12 Dec 2018 10:23:32 +0000 Message-ID: References: <20181128094607.106173-1-xiao.w.wang@intel.com> <20181128094607.106173-7-xiao.w.wang@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTEyYzE5YTMtMGFjMi00YWRlLWEyZjAtOTY4Mjg4ZWFlYzY1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQUZxdmJUNm1nbUo5XC9iT2tcL3FoRFZjMEpEa0YzTUxFeHVLbmdsS0xwdlFJNXRzczJXYTA5WnNNOEpwdzVPOEJJIn0= dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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 10:23:37 -0000 SGkgQWxlamFuZHJvLA0KDQpZZXMsIHRoaXMgbW9kZSBkYXRhcGF0aCBpcyB0aHJvdWdoIHRoZSBy ZWxheSB0aHJlYWQgd2hlbiBMTSBoYXBwZW5zLCBpdOKAmXMgbm90IHRoZSBkaXJlY3QgaW50ZXJh Y3Rpb24gYmV0d2VlbiBWTSBhbmQgdmRwYSBkZXZpY2UuDQoNCkJScywNClhpYW8NCg0KRnJvbTog QWxlamFuZHJvIEx1Y2VybyBbbWFpbHRvOmFsZWphbmRyby5sdWNlcm9AbmV0cm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BjaV9kcml2ZXIgKnBjaV9kcnYgX19ydGVf dW51c2VkLA0KICAgICAgICBpbnRlcm5hbC0+ZGV2X2FkZHIudHlwZSA9IFBDSV9BRERSOw0KICAg ICAgICBsaXN0LT5pbnRlcm5hbCA9IGludGVybmFsOw0KDQorICAgICAgIGlmIChydGVfa3Zhcmdz X2NvdW50KGt2bGlzdCwgSUZDVkZfU1dfRkFMTEJBQ0tfTE0pKSB7DQorICAgICAgICAgICAgICAg cmV0ID0gcnRlX2t2YXJnc19wcm9jZXNzKGt2bGlzdCwgSUZDVkZfU1dfRkFMTEJBQ0tfTE0sDQor ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICZvcGVuX2ludCwgJnN3X2ZhbGxiYWNrX2xt KTsNCisgICAgICAgICAgICAgICBpZiAocmV0IDwgMCkNCisgICAgICAgICAgICAgICAgICAgICAg IGdvdG8gZXJyb3I7DQorICAgICAgICAgICAgICAgaW50ZXJuYWwtPnN3X2xtID0gc3dfZmFsbGJh Y2tfbG0gPyB0cnVlIDogZmFsc2U7DQorICAgICAgIH0gZWxzZSB7DQorICAgICAgICAgICAgICAg aW50ZXJuYWwtPnN3X2xtID0gZmFsc2U7DQorICAgICAgIH0NCisNCiAgICAgICAgaW50ZXJuYWwt PmRpZCA9IHJ0ZV92ZHBhX3JlZ2lzdGVyX2RldmljZSgmaW50ZXJuYWwtPmRldl9hZGRyLA0KICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAmaWZjdmZfb3BzKTsNCiAgICAgICAgaWYgKGlu dGVybmFsLT5kaWQgPCAwKSB7DQotLQ0KMi4xNS4xDQo=