From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id CEBF72BE3 for ; Mon, 17 Sep 2018 09:13:37 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Sep 2018 00:13:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,384,1531810800"; d="scan'208";a="73809009" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga008.jf.intel.com with ESMTP; 17 Sep 2018 00:12:36 -0700 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 17 Sep 2018 00:12:36 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 17 Sep 2018 00:12:35 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.205]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.150]) with mapi id 14.03.0319.002; Mon, 17 Sep 2018 15:12:34 +0800 From: "Li, Xiaoyun" To: "Yigit, Ferruh" , "Xing, Beilei" , "Zhang, Qi Z" CC: "dev@dpdk.org" , "Yang, Zhiyong" Thread-Topic: [dpdk-dev] [PATCH v5] net/i40e: add interface to choose latest vector path Thread-Index: AQHUSoI5Fa9qMH3K70CEeN1K5YYIbqTtr9OAgAZfcWA= Date: Mon, 17 Sep 2018 07:12:33 +0000 Message-ID: References: <1535595399-430873-1-git-send-email-xiaoyun.li@intel.com> <20180912101202.37950-1-xiaoyun.li@intel.com> <4958c6fd-2c51-0d36-a079-a3c4406a6b68@intel.com> In-Reply-To: <4958c6fd-2c51-0d36-a079-a3c4406a6b68@intel.com> Accept-Language: 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] [PATCH v5] net/i40e: add interface to choose latest vector path 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: Mon, 17 Sep 2018 07:13:38 -0000 V2lsbCBzZW5kIG5ldyB2ZXJzaW9uIGxhdGVyLiBUaGFua3MuDQoNCj4gLS0tLS1PcmlnaW5hbCBN ZXNzYWdlLS0tLS0NCj4gRnJvbTogWWlnaXQsIEZlcnJ1aA0KPiBTZW50OiBUaHVyc2RheSwgU2Vw dGVtYmVyIDEzLCAyMDE4IDIxOjI3DQo+IFRvOiBMaSwgWGlhb3l1biA8eGlhb3l1bi5saUBpbnRl bC5jb20+OyBYaW5nLCBCZWlsZWkgPGJlaWxlaS54aW5nQGludGVsLmNvbT47DQo+IFpoYW5nLCBR aSBaIDxxaS56LnpoYW5nQGludGVsLmNvbT4NCj4gQ2M6IGRldkBkcGRrLm9yZzsgWWFuZywgWmhp eW9uZyA8emhpeW9uZy55YW5nQGludGVsLmNvbT4NCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0g W1BBVENIIHY1XSBuZXQvaTQwZTogYWRkIGludGVyZmFjZSB0byBjaG9vc2UgbGF0ZXN0DQo+IHZl Y3RvciBwYXRoDQo+IA0KPiBPbiA5LzEyLzIwMTggMTE6MTIgQU0sIFhpYW95dW4gTGkgd3JvdGU6 DQo+ID4gUmlnaHQgbm93LCB2ZWN0b3IgcGF0aCBpcyBsaW1pdGVkIHRvIG9ubHkgdXNlIG9uIGxh dGVyIHBsYXRmb3JtLg0KPiANCj4gaTQwZSBzdXBwb3J0cyB2ZWN0b3IgaW5zd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