From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id A97511B22F for ; Wed, 10 Jan 2018 13:37:56 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Jan 2018 04:37:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,340,1511856000"; d="scan'208";a="19838509" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga004.fm.intel.com with ESMTP; 10 Jan 2018 04:37:55 -0800 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 10 Jan 2018 04:37:54 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 10 Jan 2018 04:37:54 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.159]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.152]) with mapi id 14.03.0319.002; Wed, 10 Jan 2018 20:37:52 +0800 From: "Xing, Beilei" To: "Awal, Mohammad Abdul" , "Horton, Remy" , "dev@dpdk.org" CC: "Mcnamara, John" , "Lu, Wenzhuo" , "Wu, Jingjing" , "Doherty, Declan" Thread-Topic: [dpdk-dev] [PATCH v4 3/5] drivers/net/i40e: add Port Representor functionality Thread-Index: AQHTifts5brkgBfCaUukm4gznoCJvKNtCYNg Date: Wed, 10 Jan 2018 12:37:51 +0000 Message-ID: <94479800C636CB44BD422CB454846E013208A24F@SHSMSX101.ccr.corp.intel.com> References: <20180108143720.7994-1-remy.horton@intel.com> <20180108143720.7994-4-remy.horton@intel.com> <94479800C636CB44BD422CB454846E0132089D9F@SHSMSX101.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjlkOTE2YzctZGM4MC00Mzc4LWIzMjAtMDk4YzMwNWUzZDkyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6InpBemRYTkNhNFJkeHBcL1JVVm5DNmJuZDVZXC9Xd09cL0dEdUlNT3A5VWJlVWc9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 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 v4 3/5] drivers/net/i40e: add Port Representor functionality 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, 10 Jan 2018 12:37:57 -0000 DQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEF3YWwsIE1vaGFtbWFkIEFi ZHVsDQo+IFNlbnQ6IFdlZG5lc2RheSwgSmFudWFyeSAxMCwgMjAxOCA2OjExIFBNDQo+IFRvOiBY aW5nLCBCZWlsZWkgPGJlaWxlaS54aW5nQGludGVsLmNvbT47IEhvcnRvbiwgUmVteQ0KPiA8cmVt eS5ob3J0b25AaW50ZWwuY29tP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