Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1991767ybl; Thu, 15 Aug 2019 04:49:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDsofnOFJ8chYzN6etOKYV3knlDhPp4MjInyBH6oxxISuPmwfm0Q30FVP4IdHoijwK7s/3 X-Received: by 2002:a63:d34c:: with SMTP id u12mr3260763pgi.114.1565869765460; Thu, 15 Aug 2019 04:49:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565869765; cv=pass; d=google.com; s=arc-20160816; b=C983ynUT9lXtDD688jVLrMp6GcFM/C8ZMO4o+/DBpPBioUkgquwV8RoIcPRnWm+AQe MqGLHOzO7dG3npp4HBxuOvPE+2unX9Q6q8cfDH4hS8PcKWtWNH5HYZjO05xIGV95j4uB MpRwDxinv2dZqe72Yn+4+LqJSxoXCWy3XQ5Dix9Pyyzy+9e0wuVyJ+LAVOjIS78dtF+n GcI9kzr357MJaDnAfQ/pQ0SxTW7GR+t0In7D+kWvhZGNLGOOwDEoDQcVKczvg+z+RWJ6 vqEPur39vUP9zYxlGu3yrzsWE8YP9DFQL/PPn9Z2LNNMnEVz788AKUy8/tO5+Ag/qd6O T10A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=X2fVD0i+saHwdbRbMGLcqRI1ph0kXOJWWxdlVH0P4uo=; b=jhazOfmb0tyfMFgamQvFEELVZTVgC0bl/jDjSX1drD4N7/kKvXtAdLH5tcT/uu+1+9 obLS+9xJBH/+obZQmQdeIfxp7MtzswYPgJnTM9tkphmtmbCamKGtnaUHefKk38DmKWr7 8nGc7Q0k9E21+otQBXBSLEKugdrpUYqJKmN4WUSdP8Vy3MhhCK2DpXNfvpmXK2reFv1n Apv9ji0kWlRVFdhWjjLMCbcgzr1jbmUxNx8gWNf8GVCKy1VwP+JV1cKFpAYxT5KNVWD+ XQwcg/NPtkFuJm2m9ZZauPWQ55RG6Jy90T6yeqOzyTryOUZSz5cLLn41fZnmNCmo6PfK RzQw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector2 header.b=nTGcFm7o; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c13si1839696plz.242.2019.08.15.04.49.09; Thu, 15 Aug 2019 04:49:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector2 header.b=nTGcFm7o; arc=pass (i=1 spf=pass spfdomain=mellanox.com dkim=pass dkdomain=mellanox.com dmarc=pass fromdomain=mellanox.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mellanox.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731630AbfHOLfn (ORCPT + 99 others); Thu, 15 Aug 2019 07:35:43 -0400 Received: from mail-eopbgr130083.outbound.protection.outlook.com ([40.107.13.83]:36412 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726008AbfHOLfn (ORCPT ); Thu, 15 Aug 2019 07:35:43 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b1I05WasHn4Pj6zdZ+ptbPHk+SkvmftSW9PPeUTjWFWKx6gN/SFxzTmxQEKb6xAHLO9HfrgtKtG3kHuWxVnNVeYGHc/QwAftaIZoSdZW2fSmarkABQ5EclpxzmeB/UsBLvHsfYV5HQN7F37cJ2pj5MqMgMXfQ+2BCXifB5tppbQ/XoAizWrHtVwr3gUkr7WbDbtye7xQYpQ00pPN7bH/iSpvFbkrvXg7DoovzoyPsD5sCOYugBURHLYG5z21CY+wS99ZnSaJBNFftzE1h6D55sy6dolu+ipmS4/L6u7KfB/dTE4nVfopiRjQzcdfgnL103HotMZdb8DvN02iLxINUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X2fVD0i+saHwdbRbMGLcqRI1ph0kXOJWWxdlVH0P4uo=; b=C7kB0QrzyfxoZ63gusdONoSfAec7UkUqZ63qmtd87d1M85sOv4GlqqyZMF7GiKvTb3gTzAngf0Di3GpUPki77CyQx5X3hg50/40Ay5TGqX72l8TsF+WjTR5mPbcV/hoF3GVvovuCqOcnuBLo215xkxsgzMtXsZyQi49p49ed0PxrKdh0tPvchnP+kmHRIZVmT+X/ZGjnfp68ApQLS6yGDR52fH4HaN+25CERcGpGKaknRRW7ieYFdUMbpFxEGjWRoaA/62sHSZiqLexT7s1q5uZ4fgxe9w2h9CVvbVaNZ1YDzbO687/dWq+/G8d1XZJlFjodHbRe0CizGEOr464nZA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X2fVD0i+saHwdbRbMGLcqRI1ph0kXOJWWxdlVH0P4uo=; b=nTGcFm7oKFeGpi+U3PTYEvI6av5cQkTJ6I6iQpxMGSe26rdIN3Onw9DbBF8/cZUFLmQFsosSM0HnfQ6ST8PpJHGOLIFuwU6W9Kave6mMNixsY/Qn0y++yZs/Bxsq4yUUSpOWS/sll/BXL2j223cNUsaCOlXiVTn+YdQrBykShSc= Received: from AM0PR0502MB4068.eurprd05.prod.outlook.com (52.133.38.142) by AM0PR0502MB3922.eurprd05.prod.outlook.com (52.133.45.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2157.21; Thu, 15 Aug 2019 11:35:36 +0000 Received: from AM0PR0502MB4068.eurprd05.prod.outlook.com ([fe80::9d51:ae68:d177:fc94]) by AM0PR0502MB4068.eurprd05.prod.outlook.com ([fe80::9d51:ae68:d177:fc94%3]) with mapi id 15.20.2157.022; Thu, 15 Aug 2019 11:35:36 +0000 From: Eran Ben Elisha To: Mark Bloch , haiyangz , "sashal@kernel.org" , "davem@davemloft.net" , Saeed Mahameed , "leon@kernel.org" , "lorenzo.pieralisi@arm.com" , "bhelgaas@google.com" , "linux-pci@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , "netdev@vger.kernel.org" CC: kys , Stephen Hemminger , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH net-next, 5/6] net/mlx5: Add HV VHCA control agent Thread-Topic: [PATCH net-next, 5/6] net/mlx5: Add HV VHCA control agent Thread-Index: AQHVUtO9zNHuFcCHaUyI5pmRtlX1Fqb7G7qAgAD5fwA= Date: Thu, 15 Aug 2019 11:35:36 +0000 Message-ID: References: <1565809632-39138-1-git-send-email-haiyangz@microsoft.com> <1565809632-39138-6-git-send-email-haiyangz@microsoft.com> <745f663e-0c56-84d0-a02b-106f788e3e8f@mellanox.com> In-Reply-To: <745f663e-0c56-84d0-a02b-106f788e3e8f@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: PR1PR01CA0001.eurprd01.prod.exchangelabs.com (2603:10a6:102::14) To AM0PR0502MB4068.eurprd05.prod.outlook.com (2603:10a6:208:d::14) authentication-results: spf=none (sender IP is ) smtp.mailfrom=eranbe@mellanox.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 129948fa-eacb-4a90-f381-08d72174b116 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:AM0PR0502MB3922; x-ms-traffictypediagnostic: AM0PR0502MB3922: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 01304918F3 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(366004)(346002)(376002)(136003)(396003)(199004)(189003)(478600001)(6246003)(486006)(53936002)(6512007)(31696002)(36756003)(31686004)(53546011)(81166006)(76176011)(6506007)(102836004)(25786009)(2501003)(386003)(316002)(52116002)(86362001)(476003)(7736002)(8676002)(66946007)(446003)(66476007)(66556008)(64756008)(66446008)(2616005)(305945005)(11346002)(14444005)(186003)(26005)(2906002)(71200400001)(81156014)(71190400001)(2201001)(54906003)(110136005)(4326008)(5660300002)(256004)(229853002)(8936002)(14454004)(6116002)(66066001)(7416002)(99286004)(6436002)(6486002)(1511001)(3846002)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR0502MB3922;H:AM0PR0502MB4068.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) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: wj5jNaN0wxUhPzLRwfxELsbMZ2BJzVV/lwI9o1h+H14npXe81jDd5MsYHjS+0bGnPTYFu4OYBFghTLYZ60j53QfHF8I2Ob5VVfyHDjNH/Ua/9vJHMwyc2G0gxihzuWMHIrimUeNoZK048N7/u2Mle54YzXiIye2QNEXV/Hh4Mc7R5rRm0K5CGdHQs5XZ78ml6n4U6+bRCbIrk9VDR0/I4e/gf8tK34wkUK4+gWfbGt76q05cWU+GR9KC4/vF2sRGDnjOSs2RtgY0JHzzKkm0nMAXHZtuz1yESP6hEz5xm2Wfa3fDdj6jk9XoKGyj65NgRBzOIBpbgwmCx7fVySaDQ6Rol65tDQTZvbkVboI11PJIFd0/UiBnPXJhEqETiCN8O86LbiL1gpeGpOS9YSlcmb0W/oZw+Gzs+PEBXRWKPlQ= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 129948fa-eacb-4a90-f381-08d72174b116 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Aug 2019 11:35:36.8657 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FcDFhXv/70YKf9UVjewKT8tp8+QyxP7al+hbeMINfCa5+fONxPIo4gOvIqxFWgeNW9EmV+1tP6UUgoce6aC9ew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3922 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDgvMTQvMjAxOSAxMTo0MSBQTSwgTWFyayBCbG9jaCB3cm90ZToNCj4gDQo+IA0KPiBP biA4LzE0LzE5IDEyOjA5IFBNLC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