Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5043326ybl; Mon, 26 Aug 2019 21:31:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/7Zv0nfbgTYO+FfrxG7MKtWcNow/J51rA2bz4JoZe/VegedGmc0yO181dcoKQegx1fbEv X-Received: by 2002:a17:902:f217:: with SMTP id gn23mr22241904plb.21.1566880316150; Mon, 26 Aug 2019 21:31:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1566880316; cv=pass; d=google.com; s=arc-20160816; b=p0Dov5g1itiyapZGDU0dzq4HC6Ep7ogCJBxDjx/o8nN4B77zp96GyXxHc0SI3Trzio Rvk2togitS/CIjdzyau4J1E6ibC/BYr5+pnLbZ3Ipc8dvs4Y5St7xBhXLyPCyzN/bNBk +iy97mcTRQCVp+q7kzuQcrH7DJxzFITj2AklmNRXHyYktpQMY6FSBeLL8xXqRI1LEctd KW69zDb/ha4+Rqxkr37wYjVlaCeL9AmVPlFmAi69UD9kDhwEHiMJzcslYPLy8AD37A0f /8JN7OYfDUxAEhYHjr8y8RDgoD97rMPhPD9GW1LD2mPaUvYn2GO+aGtyCTIzdZwzXxef meXg== 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=MS84kg56Twko/45NYKHmSkzwKtzS4sLY3QbrRYvyEcE=; b=mlksuSSQmxInc2ASFQg5wY41ox+3LQb0QXdTtAgwrWey1yy1EXBBgCH8s61kmsFoIS 74g+zNfFmQXrunwqZhSdVCi+lKWhkMLhWd6hoVlN1MqlCwhW2hWCEgzbX4NdZWTsHH41 n+sVlMN5Sc7XksE2Op5IqteUpzySYtDTsISA6peAtpVQopdp8IpvUPSGpL9zPYUxgad8 j5IqQAmKrM2nJ+SMyEKrOPS22z2hWbxRb0tnv86dmCFUuLQqL0PI7dZBb3OTftpwAkwt YWR2+HR/kkeBTqF/VUykZrr/dYN0Kx3ryjaI2xpJhVYU2Ufmb8iizufWfdIJPotOtsOx N4hg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Mellanox.com header.s=selector2 header.b=amo0Mmim; 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 o2si97905pll.221.2019.08.26.21.31.40; Mon, 26 Aug 2019 21:31:56 -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=amo0Mmim; 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 S1729185AbfH0E3V (ORCPT + 99 others); Tue, 27 Aug 2019 00:29:21 -0400 Received: from mail-eopbgr130042.outbound.protection.outlook.com ([40.107.13.42]:54244 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725795AbfH0E3V (ORCPT ); Tue, 27 Aug 2019 00:29:21 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bhvo4N4tOZc6PyQMfO6YylClKiRbhA7MJP4HEYUaegB8uLBETVgmr8fzoNtT4IleFs9hckoAx2imPStANanvsmNUoCEUHqX41YKJTFS5fnd6aTEUeC59IpHozRpkpwP2hRg10+N3/JFrvYKlXRTk3tAdI9L0IkhSLPRvwAIg0ZV8pjhN8Sdcgu7funtDw1+BGIwMc7UZNF7k4PVE7+Urr6oPYDuqEnyExQA2+e/uDoKLjPH6WoKaV89yfEidvI+rfBAIvoNdsHBV7rgOS5T/RqSnGrKcm0/pWUoZLYALO6SYiuD9TPK//n2LJgArrl683hUE8drR3LnEBNLPiMnMhg== 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=MS84kg56Twko/45NYKHmSkzwKtzS4sLY3QbrRYvyEcE=; b=N86aSJ7cpzEa/c1jGXPcSYuLz+xlhoJNrZZG3GjXscXpGSJuSqEtUwqq+2PvxKR/MxnzyRS/1xzHcndyElWpY4yVJgtAifpQFKsEK3ggFEuP+26hF+akUYDsG+J5tn5NPqCs0O72rhoO279wXZGo6cFs3E8elXjzcry+KbgJDb8tWy/cpmIfsTR07/jkDfe8dI2igXmN8RwZDmKxtie4KiW1MOjc7Jvd4GhL/TTjmFE13HXUq317JSrniOX6ThiVg5do9eXuO9/fySlA/UzgmoeXflPP9t/xDZ53CFRfQSAzdPz9gDZTsxIA1V8AH1nIgyRl54hEkL0BFXFTj+xjMg== 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=MS84kg56Twko/45NYKHmSkzwKtzS4sLY3QbrRYvyEcE=; b=amo0MmimZqbr37cGbG8Giy5WXvZ14vQ15KCnni+Px0VU1/X/q+Q6pvw1CIQoMPYJMG3jNnp83Yif2Mj8Iqy9PlJHgH13JcUTzuI/b5XaSIjQAhzFL7Qhus/XHM0BfkAuaFpN/vr5AYPYEAs49wEc7BbjeNVQCvUljM3HKR6fB1s= Received: from AM0PR05MB4866.eurprd05.prod.outlook.com (20.176.214.160) by AM0PR05MB4532.eurprd05.prod.outlook.com (52.133.55.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.21; Tue, 27 Aug 2019 04:28:37 +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 04:28:37 +0000 From: Parav Pandit To: Mark Bloch , "alex.williamson@redhat.com" , Jiri Pirko , "kwankhede@nvidia.com" , "cohuck@redhat.com" , "davem@davemloft.net" CC: "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/2AgABaVPA= Date: Tue, 27 Aug 2019 04:28:37 +0000 Message-ID: References: <20190826204119.54386-1-parav@mellanox.com> <20190826204119.54386-3-parav@mellanox.com> <6601940a-4832-08d2-e0f6-f9ac24758cdc@mellanox.com> In-Reply-To: <6601940a-4832-08d2-e0f6-f9ac24758cdc@mellanox.com> 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: 2c05664b-8617-4563-af45-08d72aa707ce 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:AM0PR05MB4532; x-ms-traffictypediagnostic: AM0PR05MB4532: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-forefront-prvs: 0142F22657 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(366004)(376002)(39860400002)(136003)(346002)(396003)(199004)(189003)(13464003)(6506007)(71190400001)(71200400001)(6436002)(66066001)(55016002)(86362001)(81156014)(81166006)(9686003)(186003)(8676002)(9456002)(5660300002)(66556008)(66946007)(6116002)(76116006)(66446008)(8936002)(33656002)(3846002)(64756008)(7696005)(2501003)(2906002)(76176011)(66476007)(486006)(6246003)(2201001)(26005)(476003)(25786009)(110136005)(446003)(102836004)(14454004)(229853002)(11346002)(99286004)(4326008)(305945005)(52536014)(55236004)(54906003)(74316002)(14444005)(256004)(7736002)(316002)(478600001)(53546011)(53936002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR05MB4532;H:AM0PR05MB4866.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: 5dctfSBB0qt0of8FCBZV+v/D8qfgcEHYFV7aCBcnv3PUAA3JDtGjMlQDNai5XA3mfb+KX1E1ujPOpUjpvBrUFCiZ92xSTt9tJS/Mtj/nNuPDEDIfTn8/jrhQ37j+Rn+JHeFxLjeYt4uaivn+WqvxRCCIXfle2Woxge20bpNSguffrficbJzn/0fycyQT6uU1/wfH/q+U1DiYV1dmhkGBgWj6X1fVCDVBqANnTmfRRkpuk6LEZxw8zkd59e9CPWL9OligZQ97V4uyiieqaECqDfv4PBYhfcAC6hVn6syqozVhWgjIhkWm26iGv85X3tecVLVCFuD/ZVdY8Zope+YmOIMEffFfk0NwMppOjMGpYj4KsECWL5pfRiPZmuLXYlVmev5ouibqH4/LHY8zQzHYGo6JOsqpbum/mjTuFv+d4jY= 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: 2c05664b-8617-4563-af45-08d72aa707ce X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Aug 2019 04:28:37.3696 (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: 1fcKZbygwuwMZQ60KYzFwNigiaCXKuvQAQHbPxub7mcGCjMeUpb6V9U/Ezyqgp6mbGGF/rVmF/4hn1sEh3Fzig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4532 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTWFyaywNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYXJrIEJs b2NoIDxtYXJrYkBtZWxsYW5veC5jb20+DQo+IFNlbnQ6IFR1ZXNkYXksIEF1Z3VzdCAyNywgMjAx OSA0OjMyIEFNDQo+IFRvOiBQYXJhdiBQYW5kaXQgPHBhcmF2QG1lbGxhbm94LmNvbT47IGFsZXgu d2lsbGlhbXNvbkByZWRoYXQuY29tOyBKaXJpDQo+IFBpcmtvIDxqaXJpQG1lbGxhbm94LmNvbT47 IGt3YW5raGVkZUBudmlkaWEuY29tOyBjb2h1Y2tAcmVkaGF0LmNvbTsNCj4gZGF2ZW1AZGF2ZW1s b2Z0Lm5ldA0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