From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40074.outbound.protection.outlook.com [40.107.4.74]) by dpdk.org (Postfix) with ESMTP id ED26D6D81 for ; Mon, 2 Apr 2018 14:41:34 +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=ESPIqMPb2KQb2uF2taE5XwKfr3pjzASsmgEY0+G7VIk=; b=Bfd/vMigh1LAmdTLo6mhs37+1HEIf8NiaqbA3uYvp/PRpTnrvtCnZyuhToLYXdxGDdwoxqF5KO9VsLyVrupxDS6LKbB4ksvTnU7c8ew/6H3u8iBk/MfIdKfneRIbX1aciFAFH7lHwqPWbQRCtjuiY8vGZxg8D+65tJw+juwiG/8= Received: from VI1PR05MB1678.eurprd05.prod.outlook.com (10.165.235.152) by VI1PR05MB3200.eurprd05.prod.outlook.com (10.170.237.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.631.10; Mon, 2 Apr 2018 12:41:33 +0000 Received: from VI1PR05MB1678.eurprd05.prod.outlook.com ([fe80::b8e2:e81f:98a:b6d0]) by VI1PR05MB1678.eurprd05.prod.outlook.com ([fe80::b8e2:e81f:98a:b6d0%14]) with mapi id 15.20.0631.013; Mon, 2 Apr 2018 12:41:33 +0000 From: "Xueming(Steven) Li" To: =?utf-8?B?TsOpbGlvIExhcmFuamVpcm8=?= CC: Adrien Mazarguil , Shahaf Shuler , "dev@dpdk.org" Thread-Topic: [PATCH] net/mlx5: add supported hash function check Thread-Index: AQHTvov+y4hiZ0pNTEO+vaOi4RbFXKPXO8uAgATZlpCABlvIgIALDZtA Date: Mon, 2 Apr 2018 12:41:33 +0000 Message-ID: References: <20180318073720.84176-1-xuemingl@mellanox.com> <20180319082949.6wezkieapgbn3dny@laranjeiro-vm.dev.6wind.com> <20180326113941.lhlvg4pe2aiccbld@laranjeiro-vm.dev.6wind.com> In-Reply-To: <20180326113941.lhlvg4pe2aiccbld@laranjeiro-vm.dev.6wind.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [61.172.82.10] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB3200; 7:D/LgzPcc2zV0MgOBllaTMO6yMb4oVGVIKUORxD52362pvfM9OSsio1kB8LQ2RyaiqFadMufnJj0HGJP4+TxV18vZlicbZvLSIR2ErcC1ET0l6ViGPy8nYja3Vs+HFQsu3ZI2fq7nLHCvYSBdbHmzgjPHpQHOAeLWlRl8SB0rOKSLGPfC07YwfXWD+roHStSX2ipAjqR5BZvGPjmvabOV9S6yZrTh1EdEmXQxyPXF2FmzXiQs8kwS0hihVHrSOXxJ x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 5477939b-82a7-4117-7bb5-08d598971133 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR05MB3200; x-ms-traffictypediagnostic: VI1PR05MB3200: 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)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231221)(944501327)(52105095)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(6072148)(201708071742011); SRVR:VI1PR05MB3200; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB3200; x-forefront-prvs: 0630013541 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(376002)(366004)(39380400002)(396003)(346002)(199004)(189003)(13464003)(8676002)(9686003)(55016002)(53936002)(2906002)(229853002)(6436002)(5250100002)(81166006)(105586002)(8936002)(106356001)(3846002)(74316002)(33656002)(6116002)(93886005)(81156014)(6916009)(97736004)(305945005)(6346003)(26005)(99286004)(59450400001)(68736007)(186003)(76176011)(66066001)(7696005)(86362001)(54906003)(11346002)(446003)(5660300001)(4326008)(3660700001)(476003)(486005)(3280700002)(486005)(6246003)(14454004)(6506007)(478600001)(2900100001)(7736002)(53546011)(316002)(102836004)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR05MB3200; H:VI1PR05MB1678.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=xuemingl@mellanox.com; x-microsoft-antispam-message-info: s1ZtAJ0pMEyEYPfKncBYtE2t8M/9kgnEqsGdbEY7WOkyyUZDm4DKtCXLeWkzh8pvpyZT4C1P75qiSJRzgtdUJnepYRGz/t05C0KxGlvKTvZkkSOdUOJS23OG/0wp+VxZid4C4rpzD5cvXoRBkv0gjAh29KXzgfj7qYnncM7fkIt0v4AVERmRlRZL1Na1RH+ViDGbtxm9dSK/2gwlquEjqzqYOwfrYLss+awVodkjE214hn7VEGmj22bs0FC6ut3FlOlmcCBOu4ChXe3s1NZToA1Rvc99m9Qb5W6+M9AP6jlLwDJKxAGmeqJOYeBjfA9zjdBCbIMRgLRclb3HTAxMsNnao+aMiYOtKnOpiEz1dOyfj4oFgtU73zxdnkscYQyhU8c6UwL7cwrvIwN/ACWbKsFWoM959udEmpUh+gD38Bg= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5477939b-82a7-4117-7bb5-08d598971133 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2018 12:41:33.7925 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB3200 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: add supported hash function check 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, 02 Apr 2018 12:41:35 -0000 PiB0aGlzIGRldmljZSBzaG91bGQgdG8gdGhlIHNhbWUgaW5zdGVhZCBvZiByZWZ1c2luZyBpdA0K DQpKdXN0IGRvdWJsZSBjb25maXJtLCBpcyBpdCAiZG8gdGhlIHNhbWUiPyBhcmUgeW91IHN1Z2dl c3Rpbmcgbm90IGRlbnlpbmcNCnVuc3VwcG9ydGVkIGhhc2ggZnVuY3Rpb24gaW4gcnRlX2V0aF9k ZXZfY29uZmlndXJlKCk/IA0KDQpGcm9tIHF1aWNrIHZpZXcgb2YgaXhnYmUgY29kZSwga2luZCBv ZiB0cnkgYmVzdCwgd291bGQgbGlrZSB0byBoZWFyIGZyb20gDQpvdGhlciBQTURzIG9uIGhvdyB0 aGlzIGludGVycHJldGVkLiANCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9t OiBOw6lsaW8gTGFyYW5qZWlybyBbbWFpbHRvOm5lbGlvLmxhcmFuamVpcm9ANndpbmQuY29tXQ0K PiBTZW50OiBNb25kYXksIE1hcmNoIDI2LCAyMDE4IDc6NDAgUE0NCj4gVG86IFh1ZW1pbmcoU3Rl dmVuKSBMaSA8eHVlbWluZ2xAbWVsbGFub3guY29tPg0KPiBDYzogQWRyaWVuIE1hemFyZ3V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