From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0081.outbound.protection.outlook.com [104.47.1.81]) by dpdk.org (Postfix) with ESMTP id 9C8456CCA for ; Wed, 18 Apr 2018 16:26:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=SXBNZLTRgGjYVImsZy5NBAA1jbjpQ+AvuZ9nrzMSYi0=; b=SSPIQKX2O7HtLN/yfoogpr+ijT7Ylsl4o0p0EHSOQLZSryZmguZbIjc62R7s/AXeErMWSy8KGbKaf6T9IlaFLq3dpzs5Epf4XrcB3RlZO7Hd/YmWBOk0kS9O9YlhFmsWXa1TdXYkdQkyR91rVdRhDvdZik8SGcL/wg0kylX9k5w= Received: from VI1PR05MB1678.eurprd05.prod.outlook.com (10.165.235.152) by VI1PR05MB4560.eurprd05.prod.outlook.com (20.176.3.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.11; Wed, 18 Apr 2018 14:26:30 +0000 Received: from VI1PR05MB1678.eurprd05.prod.outlook.com ([fe80::6da4:14c3:f5d8:3f4a]) by VI1PR05MB1678.eurprd05.prod.outlook.com ([fe80::6da4:14c3:f5d8:3f4a%14]) with mapi id 15.20.0675.015; Wed, 18 Apr 2018 14:26:30 +0000 From: "Xueming(Steven) Li" To: Adrien Mazarguil CC: Shahaf Shuler , Nelio Laranjeiro , Wenzhuo Lu , Jingjing Wu , Thomas Monjalon , "dev@dpdk.org" , Olivier Matz Thread-Topic: [dpdk-dev] [PATCH v3 2/2] app/testpmd: only config supported RSS hash types Thread-Index: AQHT1wWGGhTlZhLy/kWZkR7lpjdFhKQGg4aAgAAHMbCAAAb8gIAAAKwQ Date: Wed, 18 Apr 2018 14:26:30 +0000 Message-ID: References: <20180409121035.148813-1-xuemingl@mellanox.com> <20180418110648.22883-2-xuemingl@mellanox.com> <20180418132557.GP4957@6wind.com> <20180418141641.GQ4957@6wind.com> In-Reply-To: <20180418141641.GQ4957@6wind.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [180.174.142.249] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB4560; 7:rYcPzOAHsUnNk4J63C4Rw0WOwngn32Z9uwu7PhK32eHdhcDbMKMrN5iIYqwh9pC3UmR6TVjMe+sBQoiEcBIdiZnZ0aqb26JFOYAVHkQaJJqSypHz2/dsI4/qu9kO5xs7th1v0H9br99Ti01zHzQVyP1yr9wGDkgtcFP1xqzGv916bgcvKsRA6MAZShlDBhtpQESvLmHJCU+YaVmm4uivc8BkBMvGQEu/GIF8mUMOvPEu12N+bQsIYR0tkTLauRkC x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603328)(7153060)(7193020); SRVR:VI1PR05MB4560; x-ms-traffictypediagnostic: VI1PR05MB4560: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820)(189930954265078)(45079756050767)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231232)(944501327)(52105095)(10201501046)(3002001)(93006095)(93001095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:VI1PR05MB4560; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB4560; x-forefront-prvs: 06469BCC91 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(39860400002)(366004)(39380400002)(346002)(13464003)(6306002)(5250100002)(6436002)(5660300001)(6246003)(478600001)(6916009)(305945005)(7736002)(6116002)(86362001)(45080400002)(55016002)(54906003)(93886005)(9686003)(8936002)(8676002)(81166006)(102836004)(33656002)(186003)(25786009)(4326008)(476003)(53936002)(14454004)(66066001)(26005)(99286004)(966005)(446003)(7696005)(76176011)(6506007)(11346002)(2906002)(53546011)(59450400001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB4560; H:VI1PR05MB1678.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; MLV:sfv; x-microsoft-antispam-message-info: VHsJjHs1CEdDVVTlW7sqLT9KoljtjhuA3Ks2dDwq3sJ2Fr4imoFeX+Z8S/dJpSgxtYl6PDC1LbMC9ajOxmPEhni22jr5PAJ1g/c4X2dIQDTeyMxSz1TY6c5rfA/31EZwxAsVaCdfPl40bnIaSfDr/LG1Dxy4LWivNIFj9slLHkfLkylti0iFXUD7gvATC1q6 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 905d08be-8fc5-441e-d9db-08d5a53860bd X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 905d08be-8fc5-441e-d9db-08d5a53860bd X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Apr 2018 14:26:30.1193 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB4560 Subject: Re: [dpdk-dev] [PATCH v3 2/2] app/testpmd: only config supported RSS hash types 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, 18 Apr 2018 14:26:31 -0000 K09saXZpZXINCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBBZHJpZW4g TWF6YXJndWlsIDxhZHJpZW4ubWF6YXJndWlsQDZ3aW5kLmNvbT4NCj4gU2VudDogV2VkbmVzZGF5 LCBBcHJpbCAxOCwgMjAxOCAxMDoxNyBQTQ0KPiBUbzogWHVlbWluZyhTdGV2ZW4pIExpIDx4dWVt aW5nbEBtZWxsYW5veC5jb20+DQo+IENjOiBTaGFoYWYgU2h1bGVyIDxzaGFoYWZzQG1lbGxhbm94 LmNvbT47IE5lbGlvIExhcmFuamVpcm8gPG5vdGlmaWNhdGlvbnNAZ2l0aHViLmNvbT47IFdlbnpo dW8gTHUNCj4gPHdlbnpodW8ubHVAaW50ZWwuY29tPjsgSmluZ2ppbmcgV3UgPGppbmdqaW5nLnd1 QGludGVsLmNvbT47IFRob21hcyBNb25qYWxvbiA8dGhvbWFzQG1vbmphbG9uLm5ldD47DQo+IGRl dkBkcGRrLm9yZw0KPiBTdWJqZWN0OiBSZTogW2RwZGstZGV2XSBbUEFUQ0ggdjMgMi8yXSBhcHAv dGVzdHBtZDogb25seSBjb25maWcgc3VwcG9ydGVkIFJTUyBoYXNoIHR5cGVzDQo+IA0KPiBPbiBX ZWQsIEFwciAxOCwgMjAxOCBhdCAwMTo1NDoyMFBNICswMDAwLCBYdWVtaW5nKFN0ZXZlbikgTGkg d3JvdGU6DQo+ID4NCj4gPg0KPiA+ID4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gPiA+ IEZyb206IEFkcmllbiBNYXphcmd1aWwgPGFkcmllbi5tYXphcmd1aWxANndpbmQuY29tPg0KPiA+ ID4gU2VudDogV2VkbmVzZGF5LCBBcHJpbCAxOCwgMjAxOCA5OjI2IFBNDQo+ID4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