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 11AD61B5C2 for ; Fri, 14 Dec 2018 04:17:40 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Dec 2018 19:17:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,351,1539673200"; d="scan'208,217";a="110274634" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga003.jf.intel.com with ESMTP; 13 Dec 2018 19:17:39 -0800 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 13 Dec 2018 19:17:38 -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; Thu, 13 Dec 2018 19:17:37 -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; Fri, 14 Dec 2018 11:17:36 +0800 From: "Yan, Zhirun" To: David Marchand CC: "dev@dpdk.org" , "Zhang, Qi Z" , "Wang, Haiyue" Thread-Topic: [dpdk-dev] [PATCH v3 1/2] net/i40e: support VF request more queues Thread-Index: AQHUkq0QyqkIIzcYmUy3KjZvuWYa5aV7z58AgAHAEaA= Date: Fri, 14 Dec 2018 03:17:35 +0000 Message-ID: <2F9759EBFF61914290A3BA61BDBE2C860B9D974D@SHSMSX101.ccr.corp.intel.com> References: <20181128165806.78934-1-zhirun.yan@intel.com> <20181213140505.14578-1-zhirun.yan@intel.com> <20181213140505.14578-2-zhirun.yan@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] 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 v3 1/2] net/i40e: support VF request more queues 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: Fri, 14 Dec 2018 03:17:41 -0000 SGkgRGF2aWQsDQoNClRoZSBpNDBldmZfaW5pdF92bGFuKCkgYWx3YXlzIHJldHVybnMgMC4gU28g dGhlIGNoYW5nZSBkb2VzbuKAmXQgYWZmZWN0IGl0Lg0KSSBhZ3JlZSB3aXRoIHlvdS4gU28gSSB3 aWxsIHB1dCB0aGUgImludCByZXQiIGRlY2xhcmF0aW9uIGluIHRoZSBuZXcgYmxvY2sgaW4gbmV4 dCB2ZXJzaW9uLg0KDQpUaGFua3MuDQoNCkZyb206IERhdmlkIE1hcmNoYW5kIFttYWlsdG86ZGF2 aWQubWFyY2hhbmRAcmVkaGF0LmNvbV0NClNlbnQ6IFRodXJzZGF5LCBEZWNlbWJlciAxMywgMjAx OCA0OjI2IFBNDQpUbzogWWFuLCBaaGlydW4gPHpoaXJ1bi55YW5AaW50ZWwuY29tPg0KQ2M6IGRl dkBkcGRrLm9yZzsgWmhhbmcsIFFpIFogPHFpLnouemhhbmdAaW50ZWwuY29tPjsgV2FuZywgSGFp eXVlIDxoYWl5dWUud2FuZ0BpbnRlbC5jb20+DQpTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbUEFU Q0ggdjMgMS8yXSBuZXQvaTQwZTogc3VwcG9ydCBWRiByZXF1ZXN0IG1vcmUgcXVldWVzDQoNCkhl bGxvLCBaaGlydW4sDQoNCk9uIFRodSwgRGVjIDEzLCAyMDE4I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A9IHRy dWU7DQogICAgICAgIGFkLT50eF92ZWNfYWxsb3dlZCA9IHRydWU7DQoNCi0gICAgICAgcmV0dXJu IGk0MGV2Zl9pbml0X3ZsYW4oZGV2KTsNCisgICAgICAgaWYgKG51bV9xdWV1ZV9wYWlycyAhPSB2 Zi0+dnNpX3Jlcy0+bnVtX3F1ZXVlX3BhaXJzKSB7DQorICAgICAgICAgICAgICAgUE1EX0RSVl9M T0coSU5GTywgImNoYW5nZSBxdWV1ZSBwYWlycyBmcm9tICV1IHRvICV1IiwNCisgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgdmYtPnZzaV9yZXMtPm51bV9xdWV1ZV9wYWlycywgbnVtX3F1 ZXVlX3BhaXJzKTsNCisgICAgICAgICAgICAgICByZXQgPSBpNDBldmZfcmVxdWVzdF9xdWV1ZXMo ZGV2LCBudW1fcXVldWVfcGFpcnMpOw0KKyAgICAgICAgICAgICAgIGlmIChyZXQgIT0gMCkNCisg ICAgICAgICAgICAgICAgICAgICAgIHJldHVybiByZXQ7DQorDQorICAgICAgICAgICAgICAgcmV0 ID0gaTQwZXZmX2Rldl9yZXNldChkZXYpOw0KKyAgICAgICAgICAgICAgIGlmIChyZXQgIT0gMCkN CisgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiByZXQ7DQorICAgICAgIH0NCisNCisgICAg ICAgaTQwZXZmX2luaXRfdmxhbihkZXYpOw0KKw0KKyAgICAgICByZXR1cm4gcmV0Ow0KIH0NCg0K IHN0YXRpYyBpbnQNCg0KRGlkIG5vdCBsb29rIHRvbyBtdWNoIGludG8gdGhpcyBjb2RlLCBidXQg SSBub3RpY2VkIHRoYXQgd2l0aCB0aGlzIGNoYW5nZSwgeW91IGFsd2F5cyByZXR1cm4gMCwgd2hh dGV2ZXIgaGFwcGVuZWQgd2l0aCBpNDBldmZfaW5pdF92bGFuKCkuDQpJIHdvdWxkIGhhdmUgcHV0 IHRoZSAiaW50IHJldCIgZGVjbGFyYXRpb24gaW4gdGhlIG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