Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp791392imb; Fri, 1 Mar 2019 14:12:46 -0800 (PST) X-Google-Smtp-Source: APXvYqxApFMgIrbLzjwDdDkx4hkOF2Rr/yvuA/WIRPXVrOG/BgalZ+t/h18UK01WqatfnvxhHpBw X-Received: by 2002:a65:490e:: with SMTP id p14mr6988705pgs.373.1551478366585; Fri, 01 Mar 2019 14:12:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551478366; cv=none; d=google.com; s=arc-20160816; b=pZteuAP2kn+lx7i/1+5R6mGfXAkDNoPkJ6JnSo0HqEjcX7ufHweCjEOMjmQsHnHvpZ IVfz/GX7yBCJxVto6GGsp+QJRN2TpuPJ13/vKJdHZRb2PIt7bhCX3u8oqiA2etobaGTz caAgJfOxvvSyft/OJFEsQT8lfwkDDAsBM/7q67QvM7PJRdkihQWdCfl8AFT3JGLRQeep HglNrJj1BYxUunPLz0AV27TCyyAo1YLIcqgymZliKTI4/NRGQCoRbHJF3yGU+RC1E20o 45F54ROFTJ+GSscCBSQOWgawhoF4aifHkbfG17k39iexX1VY8dzkD4pB4bSFSTonvZNs NL1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:to :from:dkim-signature; bh=DPmXDiw/nCmfExp3KxC108R+kjO4d9OWFCruoK6g/Jg=; b=Zf3pN0dKzc7EWUbO74OKlzUpo1lO3Dv5PC1DRHuNj7TSie+7K0LMegcrgblRlzvcMT pnvFzo/7zrKqdbvmAIE3WDYZ7q2cFTL0OF6DrY/qoo3VXgK4s+98CJPPLLxNW7n/aSO1 Swl6bmTD/yS/OZic4HvXkNi1b6bvvkXJ1KiKkwB+ogjJgiELP9fGic9syo1YykoxsItO 7wu/y5bcNN+7+2Boyd4yNmei5LPKVtm/I1McArhSyIHaTA9ejFubKF4sB8R0XIOzvjzo Qlnb+dMu2iTkJ4zbt3JiM7dzv0HXaZU2cPKdfY5SzirM/4aKojm5kXIaYCthrmPhng6Y SvpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector1 header.b=yf5Rte+F; 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 f11si16504257pgs.291.2019.03.01.14.12.30; Fri, 01 Mar 2019 14:12:46 -0800 (PST) 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=selector1 header.b=yf5Rte+F; 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 S1727045AbfCAWMK (ORCPT + 99 others); Fri, 1 Mar 2019 17:12:10 -0500 Received: from mail-eopbgr130075.outbound.protection.outlook.com ([40.107.13.75]:52893 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726311AbfCAWMJ (ORCPT ); Fri, 1 Mar 2019 17:12:09 -0500 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:X-MS-Exchange-SenderADCheck; bh=DPmXDiw/nCmfExp3KxC108R+kjO4d9OWFCruoK6g/Jg=; b=yf5Rte+FBVUMAbuVpbC08l0bgoXYVSlBUChGbLXhrM0Retnyxk1uJWWUFkChE19ig1IOdhshvKuWVpncj2Z1f6bKr8Oz3o4RFJQ4x/LhxSGpYjAzWo7q74y25bJ+fR7Qwa0RvEDv4aycAvYSf+dlQz6UYqE425aPd9gcy6hSJy8= Received: from DB8PR05MB5898.eurprd05.prod.outlook.com (20.179.9.32) by DB8PR05MB6602.eurprd05.prod.outlook.com (20.179.12.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1643.18; Fri, 1 Mar 2019 22:12:04 +0000 Received: from DB8PR05MB5898.eurprd05.prod.outlook.com ([fe80::28ed:92cd:4075:b660]) by DB8PR05MB5898.eurprd05.prod.outlook.com ([fe80::28ed:92cd:4075:b660%2]) with mapi id 15.20.1665.015; Fri, 1 Mar 2019 22:12:04 +0000 From: Saeed Mahameed To: Jiri Pirko , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Parav Pandit , "davem@davemloft.net" , "gregkh@linuxfoundation.org" , "michal.lkml@markovi.net" Subject: Re: [RFC net-next 8/8] net/mlx5: Add subdev driver to bind to subdev devices Thread-Topic: [RFC net-next 8/8] net/mlx5: Add subdev driver to bind to subdev devices Thread-Index: AQHUz/EI0g2MiyRYo0CIhMfO638PrqX3V7UA Date: Fri, 1 Mar 2019 22:12:04 +0000 Message-ID: References: <1551418672-12822-1-git-send-email-parav@mellanox.com> <1551418672-12822-9-git-send-email-parav@mellanox.com> In-Reply-To: <1551418672-12822-9-git-send-email-parav@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.30.5 (3.30.5-1.fc29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=saeedm@mellanox.com; x-originating-ip: [209.116.155.178] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 82a67fde-113e-482a-3f73-08d69e92efaa x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB8PR05MB6602; x-ms-traffictypediagnostic: DB8PR05MB6602: x-microsoft-exchange-diagnostics: =?utf-8?B?MTtEQjhQUjA1TUI2NjAyOzIzOitBS3VlQXdOUTgwV3Q4MU1mRjBCMHlIUXQ3?= =?utf-8?B?VHJuQ3MyWnVRdE1ZZ3FXTzZYZ2ZDKytyYmZzYXgzbVpZdFcwaGxaYzl2aktF?= =?utf-8?B?ckdHY0l5Ti9zYnB0RU9EVVVhK243bmNPVXJ0NmdpL1NiSEZrVjV4Z2ErYWV5?= =?utf-8?B?QnlOVkIwbC95cGxmVGtCUUFzUTJUTkV0VUwxM1M3MzJYemlPcjR1RnZ1VHZz?= =?utf-8?B?SVl1VDJPR1hYejA0dDlMdmJVR3Y5M01YbDM2TEhmaDdNcTRnTlFIYzJrM3JN?= =?utf-8?B?aGFRT2grZFlQcitCV3JZaUpTamM5dE43eHArMXVZYkdERTB0a1R4ejIwa0Zn?= =?utf-8?B?OW85bTJFbTNCUHhjZXQ3WVZ3WG1OR1dsakdiRzFEMmJZS2RUMFV4MW1kNEh5?= =?utf-8?B?K0VsNnM4N3RZaUQwVGZEOW5wMWNDY1ZDdTFKR2VBbkdsblFmNGV3L3dhUzhq?= =?utf-8?B?SGRtR2F1T2lBbStNdEw2TTNYbUw5RHIrTUNVZU9mUWd3ckN0enpyNTBOcGVJ?= =?utf-8?B?bnBtMG10VGRtMHZMT003czVNK1dtU05BV0QyR0MyWW5DUjdCZTRVa0U4THFF?= =?utf-8?B?V2JHYmJzMXR3YWVKdXZyZkhRNWxBNVlVNkpUWWJaTHEzU1NsZ0lGMzFibkhU?= =?utf-8?B?d1Fzb1N5Tlp5RFBORDkrNE5ESU9aeWp0Q2JXeDBnWkpsOUhnSUZSQ3BRM1ha?= =?utf-8?B?dTBnQ3lHRi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8?B?L3JRa2VIdDBHUFlMcGpqcXRoV1hHSi8zdFlWeHd0eHlXMkp3aFprRThBPT0=?= x-microsoft-antispam-prvs: x-forefront-prvs: 09634B1196 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(39860400002)(136003)(346002)(376002)(396003)(199004)(189003)(118296001)(76176011)(256004)(14444005)(6506007)(26005)(478600001)(25786009)(105586002)(66066001)(53936002)(5660300002)(8936002)(68736007)(81166006)(81156014)(8676002)(71190400001)(71200400001)(106356001)(2501003)(186003)(6246003)(7736002)(486006)(102836004)(2906002)(2616005)(316002)(6486002)(446003)(14454004)(476003)(229853002)(6512007)(86362001)(110136005)(6436002)(99286004)(97736004)(36756003)(6116002)(3846002)(58126008)(11346002)(2201001)(305945005);DIR:OUT;SFP:1101;SCL:1;SRVR:DB8PR05MB6602;H:DB8PR05MB5898.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: PLBneSVs70ndbznnQdYkL8980wT9c89WoUb9UqR7NyqOgd3t6/I8hQWH+nreT0byvFo932xRcd1Dau287VkdX7o3+4aWMeCr8Rd6ukkTpRUoWYPrWQ1zqKWaV0wRbRonVInTZjaupFE688ktpW1nENZmPG/4ve9XrbdMWUsaJbP8Kl+ZUwGJAddcdb6YBd57uXVOsDlEyGmIKT5NXAcPhB9EwrLpQsuPDD0T4+IT1nhEyw82PoaYTo7PJ6Hv5D8a0AX0+RyoeIPfUoFohuKFACmbAqcyWJ4rJKKuFRI3lBWCx3lTau8lNnEWHGxFNZZQomizN2rFdgR9MAXiaGl0RfyD60i3uRrg8XJwa35vmhMzzWqWS/dcopxBVcWTx6y0j4dUOWVrfQbfdNC2thlg88tCI3bnlg4PPA79L5re6wM= Content-Type: text/plain; charset="utf-8" Content-ID: <87CC2933A7A94A4787AC28786434D5B9@eurprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 82a67fde-113e-482a-3f73-08d69e92efaa X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Mar 2019 22:12:04.1428 (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-Transport-CrossTenantHeadersStamped: DB8PR05MB6602 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDE5LTAyLTI4IGF0IDIzOjM3IC0wNjAwLCBQYXJhdiBQYW5kaXQgd3JvdGU6DQo+ IEFkZCBhIHN1YmRldiBkcml2ZXIgdG8gcHJvYmUgdGhlIHN1YmRldiBkZXZpY2VzIGFuZCBjcmVh dGUgZmFrZQ0KPiBuZXRkZXZpY2UgZm9yIGl0Lg0KPiANCj4gU2lnbmVkLW9mZi1ieTogUGFyYXYg UGFuZGl0IDxwYXJhdkBtZWxsYW5veC5jb20+DQo+IC0tLQ0KPiAgZHJpdmVycy9uZXQvZXRoZXJu ZXQvbWVsbGFub3gvbWx4NS9jb3JlL01ha2VmaWxlICAgfCAgMiArLQ0KPiAgZHJpdmVycy9uZXQv ZXRoZXJuZXQvbWVsbGFub3gvbWx4NS9jb3JlL21haW4uYyAgICAgfCAgOCArLQ0KPiAgLi4uL25l dC9ldGhlcm5ldC9tZWxsYW5veC9tbHg1L2NvcmUvbWx4NV9jb3JlLmggICAgfCAgMyArDQo+ICAu Li4vZXRoZXJuZXQvbWVsbGFub3gvbWx4NS9jb3JlL3N1YmRldl9kcml2ZXIuYyAgICB8IDkzDQo+ ICsrKysrKysrKysrKysrKysrKysrKysNCj4gIDQgZmlsZXMgY2hhbmdlZCwgMTA0IGluc2VydGlv bnMoKyksIDIgZGV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