From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0044.outbound.protection.outlook.com [104.47.0.44]) by dpdk.org (Postfix) with ESMTP id DD3007EE4 for ; Thu, 19 Apr 2018 17:50:41 +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=x3RfZdsfGZKN/F9zyaYa1LuUtXkVJKpq17o1y/s7gNE=; b=FwWqScWB5BPWHV+lQD/1tyE4/JNCBhWnsOhb6snCpaRHYfRXrlMwJpKhozTMQo+v264SRrQG/751C9XQ1PB0yaNE6lyDO67w/m8qELZjS+Z0EuH6L9S0IBG+NG6wfwUPqcOL20xPyipR8gtAAqvF6qyypwrLt0oQY/FB8MZxtjw= Received: from DB5PR05MB1671.eurprd05.prod.outlook.com (10.165.6.149) by DB5PR05MB1735.eurprd05.prod.outlook.com (10.165.7.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.14; Thu, 19 Apr 2018 15:50:39 +0000 Received: from DB5PR05MB1671.eurprd05.prod.outlook.com ([fe80::780d:ca0f:9d17:5ef9]) by DB5PR05MB1671.eurprd05.prod.outlook.com ([fe80::780d:ca0f:9d17:5ef9%13]) with mapi id 15.20.0675.017; Thu, 19 Apr 2018 15:50:39 +0000 From: "Xueming(Steven) Li" To: Adrien Mazarguil CC: Shahaf Shuler , Nelio Laranjeiro , Wenzhuo Lu , Jingjing Wu , Thomas Monjalon , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 2/2] app/testpmd: only config supported RSS hash types Thread-Index: AQHT1wWGGhTlZhLy/kWZkR7lpjdFhKQGg4aAgAAKEkCAAAfdAIABo/3g Date: Thu, 19 Apr 2018 15:50:39 +0000 Message-ID: References: <20180409121035.148813-1-xuemingl@mellanox.com> <20180418110648.22883-2-xuemingl@mellanox.com> <20180418132557.GP4957@6wind.com> <20180418143008.GR4957@6wind.com> In-Reply-To: <20180418143008.GR4957@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; DB5PR05MB1735; 7:wdtEAomA6BKwphO9GFWp4fHAUNNLqeMJHyFneHGl6kbRTLcfJI/y8XOgW+Jr0iAGNOUtd1fTUi89L4JqfAxFgh1J1LtKoXP4P+tlGxMeQAnThG8jPzQl8OUU/tpK3i5TxSjTr4Yt0CMrYNjtx+Se/X6TzD6VBMapf5y98nPIJ+TMMSaG1NbxfeL8bmMUPEnYmZUg5kMS8Au1ylkqglOkC55fDj8wRlvVIYFW7CbZpbFhzleKMkCPjkivuklw7jdo 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:DB5PR05MB1735; x-ms-traffictypediagnostic: DB5PR05MB1735: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231232)(944501327)(52105095)(10201501046)(3002001)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:DB5PR05MB1735; BCL:0; PCL:0; RULEID:; SRVR:DB5PR05MB1735; x-forefront-prvs: 0647963F84 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(39380400002)(366004)(39860400002)(346002)(376002)(13464003)(7696005)(74316002)(7736002)(3846002)(53546011)(6506007)(86362001)(33656002)(6116002)(5250100002)(5660300001)(186003)(305945005)(478600001)(476003)(2900100001)(6916009)(11346002)(229853002)(6436002)(446003)(25786009)(6246003)(3660700001)(8676002)(93886005)(8936002)(2906002)(66066001)(3280700002)(316002)(76176011)(102836004)(59450400001)(9686003)(55016002)(26005)(4326008)(81166006)(53936002)(54906003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR05MB1735; H:DB5PR05MB1671.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; MLV:sfv; x-microsoft-antispam-message-info: VdXBTjokIkIcaeDftGexr3gn/oFRCT96rXRQgH53+ukasEGnAgGN07vJas1TRZIzzG2UcKJiwQ7I6EDdE6M/iDxbuA00w5eaWr86dI5dpxBd3SxeDc8yue5E1EYpioeQ7GWnORXto11uPMdeaqr2Zgg/eOXGGyooRUOvc7zEWxi14Z5CoBgT7gkR2Y27yQ1+ 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: 49b04959-35ef-4d00-5b37-08d5a60d4ce5 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 49b04959-35ef-4d00-5b37-08d5a60d4ce5 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Apr 2018 15:50:39.6272 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR05MB1735 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: Thu, 19 Apr 2018 15:50:42 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQWRyaWVuIE1hemFyZ3Vp bCA8YWRyaWVuLm1hemFyZ3VpbEA2d2luZC5jb20+DQo+IFNlbnQ6IFdlZG5lc2RheSwgQXByaWwg MTgsIDIwMTggMTA6MzAgUE0NCj4gVG86IFh1ZW1pbmcoU3RldmVuKSBMaSA8eHVlbWluZ2xAbWVs bGFub3guY29tPg0KPiBDYzogU2hhaGFmIFNodWxlciA8c2hhaGFmc0BtZWxsYW5veC5jb20+OyBO ZWxpbyBMYXJhbmplaXJvIDxub3RpZmljYXRpb25zQGdpdGh1Yi5jb20+OyBXZW56aHVvIEx1DQo+ IDx3ZW56aHVvLmx1QGludGVsLmNvbT47IEppbmdqaW5nIFd1IDxqaW5namluZy53dUBpbnRlbC5j b20+OyBUaG9tYXMgTW9uamFsb24gPHRob21hc0Btb25qYWxvbi5uZXQ+Ow0KPiBkZXZAZHBkay5v cmcNCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENIIHYzIDIvMl0gYXBwL3Rlc3RwbWQ6 IG9ubHkgY29uZmlnIHN1cHBvcnRlZCBSU1MgaGFzaCB0eXBlcw0KPiANCj4gT24gV2VkLCBBcHIg MTgsIDIwMTggYXQgMDI6MTA6NDVQTSArMDAwMCwgWHVlbWluZyhTdGV2ZW4pIExpIHdyb3RlOg0K PiA+DQo+ID4NCj4gPiA+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+ID4gPiBGcm9tOiBB ZHJpZW4gTWF6YXJndWlsIDxhZHJpZW4ubWF6YXJndWlsQDZ3aW5kLmNvbT4NCj4gPiA+IFNlbnQ6 IFdlZG5lc2RheSwgQXByaWwgMTgsIDIwMTggOToyNiBQTQ0KPiA+ID4gVG86IFh1ZW1pbmcoU3Rl dm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