From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0055.outbound.protection.outlook.com [104.47.1.55]) by dpdk.org (Postfix) with ESMTP id B83251B1C1 for ; Mon, 16 Apr 2018 09:46:10 +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=Tik/YC3yePsvtynYHSDiD2ozFEFxhKT2qNAJcnFAt8Y=; b=AJ2D+8X56k4yMtQqnrerFXVIrGx6BIKlFw3hvZ/WUlo4lKiQRyFtYRDziRQOwulUC8K31kyNKj7/t2BidLuvVQzxP+RNjUaVN44q2w72ekXzS6dXAOut4el1L59aNv5nLKZ+a0UF7YUNEOC8gkaPkkYRFjdCWy7n+UNHASsPLHU= Received: from VI1PR05MB1678.eurprd05.prod.outlook.com (10.165.235.152) by VI1PR05MB3485.eurprd05.prod.outlook.com (10.170.239.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.11; Mon, 16 Apr 2018 07:46:09 +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; Mon, 16 Apr 2018 07:46:08 +0000 From: "Xueming(Steven) Li" To: =?utf-8?B?TsOpbGlvIExhcmFuamVpcm8=?= CC: Shahaf Shuler , "dev@dpdk.org" Thread-Topic: [PATCH v2 07/15] net/mlx5: support tunnel RSS level Thread-Index: AQHT0NC4rjbU5d76WUGK0Y+sp03Ih6P7RAyAgATQhLCAAu7VgIAABDQw Date: Mon, 16 Apr 2018 07:46:08 +0000 Message-ID: References: <20180410133415.189905-1-xuemingl@mellanox.com> <20180410133415.189905-8-xuemingl@mellanox.com> <20180411085529.ecxuku77hg3mkybl@laranjeiro-vm.dev.6wind.com> <20180416071409.oee2ttblbrg46yc6@laranjeiro-vm.dev.6wind.com> In-Reply-To: <20180416071409.oee2ttblbrg46yc6@laranjeiro-vm.dev.6wind.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=xuemingl@mellanox.com; x-originating-ip: [114.83.166.179] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB3485; 7:jbawL7AIQrP5PQwqTzqT/MRCKyiEmGxPm7v8bbHzzC3UM3RHM8TLKUeOZhD1Q8QdL3GiwJZeY0AIkkswy5H5775txLPjDTGSES9EtgI0vyqpBSpsdDNYUwS0+lNgrB3ZWXd32sMuettGFFPxlVV0PQ0qUYQCm550Yf+w3KkAnA4WPTkCPPaFY2xID+DDGkecKeGxmT2MxTIX53GOhWQzY5Rpx3vbk+c5YClDSIkK/hvpc6EVVBbP198o504jtWTW 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:VI1PR05MB3485; x-ms-traffictypediagnostic: VI1PR05MB3485: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(3231232)(944501327)(52105095)(6055026)(6041310)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:VI1PR05MB3485; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB3485; x-forefront-prvs: 0644578634 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(39860400002)(366004)(376002)(396003)(346002)(189003)(199004)(13464003)(6116002)(102836004)(74316002)(5250100002)(81156014)(81166006)(76176011)(59450400001)(55016002)(5660300001)(229853002)(86362001)(53546011)(6506007)(478600001)(53936002)(93886005)(9686003)(6916009)(25786009)(7736002)(66066001)(305945005)(4326008)(8676002)(105586002)(3660700001)(3280700002)(14454004)(2900100001)(476003)(2906002)(6246003)(446003)(33656002)(97736004)(54906003)(316002)(6436002)(11346002)(99286004)(3846002)(106356001)(68736007)(486006)(186003)(8936002)(26005)(7696005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB3485; H:VI1PR05MB1678.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: E9YKBwzyM3XNG2+UqIapzabRGB939Cx3CruWAKlwo0ATC8uurB1qHJecoihm5u5bD74h/3BtpTNBCW1gRGNhIZS+7EfKZoJzKYH1loNvBTPOxxiYrF18qyYMJ5eJ0ghjvvkC/Dyn7QOw2Qen7TSZboDBM0IQnVkJXEMb/70jsOzupeXB7vnO0tQmCCtBhqlq 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: 0fc18011-f435-4be8-6df3-08d5a36e1df4 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0fc18011-f435-4be8-6df3-08d5a36e1df4 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2018 07:46:08.5518 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3485 Subject: Re: [dpdk-dev] [PATCH v2 07/15] net/mlx5: support tunnel RSS level 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, 16 Apr 2018 07:46:10 -0000 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTsOpbGlvIExhcmFuamVp cm8gPG5lbGlvLmxhcmFuamVpcm9ANndpbmQuY29tPg0KPiBTZW50OiBNb25kYXksIEFwcmlsIDE2 LCAyMDE4IDM6MTQgUE0NCj4gVG86IFh1ZW1pbmcoU3RldmVuKSBMaSA8eHVlbWluZ2xAbWVsbGFu b3guY29tPg0KPiBDYzogU2hhaGFmIFNodWxlciA8c2hhaGFmc0BtZWxsYW5veC5jb20+OyBkZXZA ZHBkay5vcmcNCj4gU3ViamVjdDogUmU6IFtQQVRDSCB2MiAwNy8xNV0gbmV0L21seDU6IHN1cHBv cnQgdHVubmVsIFJTUyBsZXZlbA0KPiANCj4gT24gU2F0LCBBcHIgMTQsIDIwMTggYXQgMTI6MjU6 MTJQTSArMDAwMCwgWHVlbWluZyhTdGV2ZW4pIExpIHdyb3RlOg0KPiA+Wy4uLl0NCj4gPiA+ID4g QEAgLTEyMTEsMjMgKzEzMjIsMjMgQEAgbWx4NV9mbG93X2NvbnZlcnQoc3RydWN0IHJ0ZV9ldGhf ZGV2ICpkZXYsDQo+ID4gPiA+ICAJCWlmIChyZXQpDQo+ID4gPiA+ICAJCQlnb3RvIGV4aXRfZnJl ZTsNCj4gPiA+ID4gIAl9DQo+ID4gPiA+IC0JaWYgKHBhcnNlci0+bWFyaykNCj4gPiA+ID4gLQkJ bWx4NV9mbG93X2NyZWF0ZV9mbGFnX21hcmsocGFyc2VyLCBwYXJzZXItPm1hcmtfaWQpOw0KPiA+ ID4gPiAtCWlmIChwYXJzZXItPmNvdW50ICYmIHBhcnNlci0+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