Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5762633ybl; Tue, 27 Aug 2019 09:17:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqyF0N3yuLFZ1BzHiYBqoQeBFxZ5CagpsRSRh1IDdDOoSQ2PdK1Oz7UujGD4guwQGSR1myQv X-Received: by 2002:a17:90a:fa0a:: with SMTP id cm10mr24522438pjb.133.1566922675926; Tue, 27 Aug 2019 09:17:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566922675; cv=pass; d=google.com; s=arc-20160816; b=MSMQTpLLWXgQu5JtSX5x3a+OHKQ6HEfhTI1LYLO5GKd1uoxzBhfr6gtknOg33DxYDZ iwhpeUk/NDU6Ejgb7E11JfVERwUHXalkA/+6mCTHyHpz9NlHSKyAWbwbnNcEm9wNYUkD P6YFgPJaBHkArs9YUcaBqHpoysZAgsBg1FXv4LbaFrBTr5BTpndsvuCFN+MN2dhFAr6r rNfpKudobevurrl9anSYeVuN5kXpaFB3Nb323BXlTP5DEYfsyCkslOUN51BFzNV1PF3i L2LUHYUDhZVG3TV2lB73lIcx2aPwqJVT2ki3llIJOX9/CT4Ybwwmy1OI+jCzuBGVyxyR ZXPw== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=aIJaeLXMr+YUYArp4PSY4v8NdvFu6NcbH6xow94hfCE=; b=mV5ualcZF5s/6/u4vv/lXwBsil6BE9ykQEGMf7MlsEX6mmBC+yQVI0qQ90+WAtvI8s rHPYdj5UW9qwlm7bey03lrLaDBhwvSuUYQF1ZB6tZZuQKLG7ibJPaVqTOdKaLlfuA044 pPg52sPZkJfB6Kp9cztwIGHl1M0o95bA13w/WBWHb/bYHxkpTcA6y+J4eT9r0a5Y0x/I zG5qGxGyXAj9mizLJnh/1Fmo1+6Ty35m0B4y04ylcUVi4F1+ddv3tNew2DxC4LzAwJH4 Hs2L/DFrz5BoZwTsiRxiyOLITfrb3vtbshkPB2q7QIBQjWPaG5B3qzz+5WylWzhvm7FH rGVA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector2 header.b=qXeND3Fg; 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 o19si3095395pjs.54.2019.08.27.09.17.35; Tue, 27 Aug 2019 09:17:55 -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=qXeND3Fg; 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 S1728312AbfH0QQe (ORCPT + 99 others); Tue, 27 Aug 2019 12:16:34 -0400 Received: from mail-eopbgr70070.outbound.protection.outlook.com ([40.107.7.70]:8768 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726522AbfH0QQd (ORCPT ); Tue, 27 Aug 2019 12:16:33 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z+rhIAgDXNgiYKIWkcJ9McbfpVVIJz0ku8AK7H0D6+KWK52DjI5phpJ9UBWNrI1YWBIaNQIiAGu0ZdJncEb32C+SpGFFurO3ayGfxNYqQA38edh0arD/Xk5NvnsE/bTzMNJKWud7b3CjigbU0beglL5ziombQiRBg7yMbLHZleOvkNI1s37hLQeBmte1/d+1VZhsqn6yILTTJO7VubDzKRr7nDuQbUOyJIZbX3TYU4WfirnmcFObUOMZXiA7KHA2UUGSXfmiaUXCgWWpMbS2FXbnnrthEi2li87UK3DG5mA0iHfY8345r8uVBmBrTOcyyfMSnemfIddKpE+Uq7Gonw== 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=aIJaeLXMr+YUYArp4PSY4v8NdvFu6NcbH6xow94hfCE=; b=Lz7wikcdpMfCMrYpKZ29dz/3d7KRKZUUAADBqbcXuqWSjXfFl9gy3qDZnZ9jQpdVjqnlw6oqB55+zbMQU8ijUXfqph97CKgIaRu5Goj9qJ4gHzOhpof+9+htYPour92/I8cWAYI7+IdEV6dHIdYaTzc5wOi0t7KABpQEMJ/ecycEcZYIJ9c/5iNoE4rnxoqI31ltKpirHF+EijRHk9mB+nBIGHciUeoe5DriPS303qC+53ELUIKEK2Co/CWwjISda+f+qBAD0Gzr6rBw4A1nfV6sZtcsuuvT/Vju23ttjptgGTGbmjldnBS3Ev8zgniW1K0E5rjrcTNxv0XbqBohzw== 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=aIJaeLXMr+YUYArp4PSY4v8NdvFu6NcbH6xow94hfCE=; b=qXeND3FgVyUhSKkouW/BR9Km+dQGXWt7S4femVf5+b5HA1yhqA07+Uc2K1/Hi/wXebuNqMyrhxxHknT55LmxQUXOhX+klodveVSLfIkxt1UzMaZGrWgD8EjekhcgZt741CCbnCH+mjiWrJnhyapIcQGqaL7JwkOCQaSZKBI1x3A= Received: from AM0PR05MB4866.eurprd05.prod.outlook.com (20.176.214.160) by AM0PR05MB5155.eurprd05.prod.outlook.com (20.178.18.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.20; Tue, 27 Aug 2019 16:16:28 +0000 Received: from AM0PR05MB4866.eurprd05.prod.outlook.com ([fe80::216f:f548:1db0:41ea]) by AM0PR05MB4866.eurprd05.prod.outlook.com ([fe80::216f:f548:1db0:41ea%6]) with mapi id 15.20.2199.020; Tue, 27 Aug 2019 16:16:28 +0000 From: Parav Pandit To: Alex Williamson CC: Mark Bloch , Jiri Pirko , "kwankhede@nvidia.com" , "cohuck@redhat.com" , "davem@davemloft.net" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "netdev@vger.kernel.org" Subject: RE: [PATCH 2/4] mdev: Make mdev alias unique among all mdevs Thread-Topic: [PATCH 2/4] mdev: Make mdev alias unique among all mdevs Thread-Index: AQHVXE627FcLaFBgXUa8jSc95m92WKcOC/2AgABaVPCAALfnAIAADiQA Date: Tue, 27 Aug 2019 16:16:27 +0000 Message-ID: References: <20190826204119.54386-1-parav@mellanox.com> <20190826204119.54386-3-parav@mellanox.com> <6601940a-4832-08d2-e0f6-f9ac24758cdc@mellanox.com> <20190827092346.66bb73f1@x1.home> In-Reply-To: <20190827092346.66bb73f1@x1.home> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=parav@mellanox.com; x-originating-ip: [106.51.18.188] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cec361c7-7880-48f2-177a-08d72b09ea7b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:AM0PR05MB5155; x-ms-traffictypediagnostic: AM0PR05MB5155: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0142F22657 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(366004)(346002)(376002)(396003)(136003)(189003)(199004)(13464003)(9456002)(5660300002)(8676002)(6436002)(66946007)(66476007)(66556008)(64756008)(76116006)(6246003)(55016002)(66446008)(9686003)(53936002)(33656002)(256004)(66066001)(14444005)(186003)(2906002)(86362001)(99286004)(102836004)(486006)(11346002)(446003)(6506007)(81166006)(7696005)(52536014)(55236004)(14454004)(316002)(476003)(26005)(53546011)(54906003)(76176011)(8936002)(7736002)(74316002)(305945005)(4326008)(71200400001)(229853002)(478600001)(81156014)(71190400001)(6916009)(25786009)(3846002)(6116002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR05MB5155;H:AM0PR05MB4866.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-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: ihnyds2WgWM+pQl4MLiC9Ivu5eGm/ctNU4T5/L0XlHq3Q5U6hfbzbevwEe5p+F9rntoPAWebBMMWE0s+CDDotivd3bTQHLmtvfqyMhld+fS5jVHqAm8RlSumbJPp8JOfOxT9m1ApIre7ophV/smSvqz9HRXaiLOJN6z9keGl9Ymn2EqwAn272PovWoWyx3Pl+9rHsSVs/jo6j8XZL3b2bN3MOC9/GSCkF2gv7HejI95gg7lfs04RRAltLH0DGQ/sYc89UyKO/xu65xC4gKr0kPKghKP239vqZwVdJDcL89W0SpDt+MmR37IeH+W8Yf5QOOvpNgjYq5pYgpa/Rhxgy19aVw0X7nwAJrhQKiKclKoRuwlrIpTYu4gzQC/Z9oyL8n1qwW0bTvLBvDOIOFAhCGWT+/LjITBJANHH9GmDCnU= 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: cec361c7-7880-48f2-177a-08d72b09ea7b X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 16:16:28.1172 (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: ek6AoGw7IcFdrbE1hEe63VxWEaXgEalvSi+UrB7qmy8emXGBNXOgkwMcvoKRzTQE3dNQyBeM6M57PycvxZZmcA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5155 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQWxleCBXaWxsaWFtc29u IDxhbGV4LndpbGxpYW1zb25AcmVkaGF0LmNvbT4NCj4gU2VudDogVHVlc2RheSwgQXVndXN0IDI3 LCAyMDE5IDg6NTQgUE0NCj4gVG86IFBhcmF2IFBhbmRpdCA8cGFyYXZAbWVsbGFub3guY29tPg0K PiBDYzogTWFyayBCbG9jaCA8bWFya2JAbWVsbGFub3guY29tPjsgSmlyaSBQaXJrbyA8amlyaUBt ZWxsYW5veC5jb20+Ow0KPiBrd2Fua2hlZGVAbnZpZGlhLmNvbTsgY29odWNrQHJlZGhhdC5jb207 IGRhdmVtQGRhd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