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 12835590C for ; Tue, 6 Jan 2015 02:56:11 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 05 Jan 2015 17:52:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,704,1413270000"; d="scan'208";a="664915057" Received: from pgsmsx107.gar.corp.intel.com ([10.221.44.105]) by orsmga002.jf.intel.com with ESMTP; 05 Jan 2015 17:56:09 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by PGSMSX107.gar.corp.intel.com (10.221.44.105) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 6 Jan 2015 09:56:08 +0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.216]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.67]) with mapi id 14.03.0195.001; Tue, 6 Jan 2015 09:56:07 +0800 From: "Ouyang, Changchun" To: Vlad Zolotarov , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v4 4/6] ether: Check VMDq RSS mode Thread-Index: AQHQJ+7Af2HXAdw//UuhL/WSKplfqpyvH4kAgACIdUD//4hzAIABhEVggAAU1oCAAY3qoA== Date: Tue, 6 Jan 2015 01:56:06 +0000 Message-ID: References: <1419398584-19520-1-git-send-email-changchun.ouyang@intel.com> <1420355937-18484-1-git-send-email-changchun.ouyang@intel.com> <1420355937-18484-5-git-send-email-changchun.ouyang@intel.com> <54A8FD9A.8040701@cloudius-systems.com> <54A90BC8.8020307@cloudius-systems.com> <54AA62F7.6080108@cloudius-systems.com> In-Reply-To: <54AA62F7.6080108@cloudius-systems.com> 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] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4 4/6] ether: Check VMDq RSS mode X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2015 01:56:12 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogVmxhZCBab2xvdGFyb3Yg W21haWx0bzp2bGFkekBjbG91ZGl1cy1zeXN0ZW1zLmNvbV0NCj4gU2VudDogTW9uZGF5LCBKYW51 YXJ5IDUsIDIwMTUgNjoxMCBQTQ0KPiBUbzogT3V5YW5nLCBDaGFuZ2NodW47IGRldkBkcGRrLm9y Zw0KPiBTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbUEFUQ0ggdjQgNC82XSBldGhlcjogQ2hlY2sg Vk1EcSBSU1MgbW9kZQ0KPiANCj4gDQo+IE9uIDAxLzA1LzE1IDAzOjAwLCBPdXlhbmcsIENoYW5n Y2h1biB3cm90ZToNCj4gPg0KPiA+PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiA+PiBG cm9tOiBWbGFkIFpvbG90YXJvdiBbbWFpbHRvOnZsYWR6QGNsb3VkaXVzLXN5c3RlbXMuY29tXQ0K PiA+PiBTZW50OiBTdW5kYXksIEphbnVhcnkgNCwgMjAxNSA1OjQ2IFBNDQo+ID4+IFRvOiBPdXlh bmcsIENoYW5nY2h1bjsgZGV2QGRwZGsub3JnDQo+ID4+IFN1YmplY3Q6IFJlOiBbZHBkay1kZXZd IFtQQVRDSCB2NCA0LzZdIGV0aGVyOiBDaGVjayBWTURxIFJTUyBtb2RlDQo+ID4+DQo+ID4+DQo+ ID4+IE9uIDAxLzA0LzE1IDEwOjU4LCBPdXlhbmcsIENoYW5nY2h1biB3cm90ZToNCj4gPj4+PiAt LS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tL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