Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp647541pxb; Fri, 16 Apr 2021 14:44:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybKJYtCE90MG5P9Di+A0/7h1RS2jBrI2iW6/sv1xm6HxV0GYxH4FYitJ7OSSb4GfwJKbs0 X-Received: by 2002:a17:906:90d4:: with SMTP id v20mr10213753ejw.275.1618609491941; Fri, 16 Apr 2021 14:44:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1618609491; cv=pass; d=google.com; s=arc-20160816; b=dFfKrQ8gLIuLoMLHxDGPWewfryV8lZzEvvzk8ryMLZiD68sn/r2u2dgtDIPP1iB64x WKWLkh61M521k3m+qAd58VGQOxLtpbf4giZr5pk6ZAizYInMNIN9KO6YgPczgqZT/DYA ZSKYabmHczamyqvlW2NK9t7dW7NU4CTqA8yF16tDitcP/qqH3vZE06FfoMDVSCPdiZzk 4t0rt0qH1+WawidASiSQ9/l4zHuVoFRPOe/jcMc7AHBuM+5njSbuDCZ97eDpslpDmEgm ob1Qmw+2c02i4s2v0+4/I8g7d2HdQnSksd7wn2aVIFAQ3Pqgw2z7r3NpYYgJxdzk1hvm YLmQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=knc8I0LqTgCA0SVrxScKB6BRHQdffrPHhtovQXujoaA=; b=S86ROqE/HtYDtrQJ6A+k/zPLKTRIPTAJOApvJbElVNrVKnaBgHfpyljjsAA7S3sZZ6 qFWNEawIzQjfilkNwjUUB2Etc6S24veybBQEHerB0DL+GrFVD5ICy1VL8H/qZ6IHnTHB 73ssLHWFgXUYS2SkXDa9frF5U5gJ2hni2xDRDapc2AK/IB+LxZzX6HSUsh9OGvD+KbML gwIcez3HQpWZZ96PmN/NVh22yEfRFTs+PhkG4Q9H5ov2KIMFHJmrqaI1Ie/63PC6MCw/ TAn46PcMDgjCab8Yo3MHJT+HxFkKvlM6ivyqO10W3vO3r/QY9pUBnemsFJF17W0MyjWc VLbA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=LUm8JuSN; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id vr6si5444320ejb.739.2021.04.16.14.44.28; Fri, 16 Apr 2021 14:44:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=LUm8JuSN; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244982AbhDPSpA (ORCPT + 99 others); Fri, 16 Apr 2021 14:45:00 -0400 Received: from mail-mw2nam10on2105.outbound.protection.outlook.com ([40.107.94.105]:40289 "EHLO NAM10-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S244969AbhDPSo6 (ORCPT ); Fri, 16 Apr 2021 14:44:58 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N4cYGpe9jGR7V56U3lyGMO6+7rTt7lWaTpoY+hpBlWBmy8SBAYuJygLW1GwFYw43Lnzvpvuo+g6ckYAh5DSdqFOwayENlU8EOMAUN/+uHmktL1cmQmb8xvd/MBhS1KwqX/Alh1cLvnZzS3mGoG8mocnfxUognHsLhdmEJEVCaqSkTP+hnzWueF/He3mI/x+LIJ3Mfo7BJ88H+z6P1BpGwz2k154mOrpOkpQ7zH12brPJzmTPntZi4UKgpZXONZWLBpf1Ou0tNAoX48HXpAg2Rj4DKnyCIZ58JV6iJ5QAbNAichZnI2ze6s53bIk2vezLxvut5Z6O6pKfImpNsnM/xQ== 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=knc8I0LqTgCA0SVrxScKB6BRHQdffrPHhtovQXujoaA=; b=DikHIkb4AQtT8eNBiTFT8AwOy0npf1AYm/RtlBMAHwFnehwNlbh+fhBzEmVtLLF/WmeQPE7miOlzwctb5cP6yHOhETxBCSfJrtA4mx98oFvHItRVzfDOk+HGrSQ3sAx9nEfboMysma+FUu97nBlOlkR9MAFWJmU3PY6YRrPBsm4ejeemZdovXD+7fl+sKT76gSXy6M5obhrMNBw6CHbpWwuZck7HnCmIKZNRtaR9uDpKd/KKGlPMOeXsbVwuV/PPw82bCFJ9TvGwQ2pfzUWVVdZD5EV16N1qPpl9/litER1NnT+qeYQVWYE1ogG+MwEn9DDGzvnaXY2yG/cakaF6LA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=knc8I0LqTgCA0SVrxScKB6BRHQdffrPHhtovQXujoaA=; b=LUm8JuSNiiPDZeprdIvcF1fqw1SE02FDtQaAwcpnQeq0Oi6FPJqxh5vCNHqCvEzTtVZOWI51Qm0YExP+PL7p//vXKdlo4cZlRxB0xheacmDUUMEV0tzeSpF7ylgXFloTb5N80nnhQKXe0vfEVsYa08yQZ329PmHVpvl+DGDLuqg= Received: from MW2PR2101MB0892.namprd21.prod.outlook.com (2603:10b6:302:10::24) by MWHPR21MB0174.namprd21.prod.outlook.com (2603:10b6:300:78::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.4; Fri, 16 Apr 2021 18:44:32 +0000 Received: from MW2PR2101MB0892.namprd21.prod.outlook.com ([fe80::5548:cbd8:43cd:aa3d]) by MW2PR2101MB0892.namprd21.prod.outlook.com ([fe80::5548:cbd8:43cd:aa3d%6]) with mapi id 15.20.4065.008; Fri, 16 Apr 2021 18:44:32 +0000 From: Dexuan Cui To: Stephen Hemminger CC: Haiyang Zhang , "davem@davemloft.net" , "kuba@kernel.org" , KY Srinivasan , Stephen Hemminger , "wei.liu@kernel.org" , Wei Liu , "netdev@vger.kernel.org" , "leon@kernel.org" , "andrew@lunn.ch" , "bernd@petrovitsch.priv.at" , "rdunlap@infradead.org" , Shachar Raindel , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" Subject: RE: [PATCH v7 net-next] net: mana: Add a driver for Microsoft Azure Network Adapter (MANA) Thread-Topic: [PATCH v7 net-next] net: mana: Add a driver for Microsoft Azure Network Adapter (MANA) Thread-Index: AQHXMuNz15KfoBlrkkekxhRrL9s2dqq3ZoJQgAAKwQCAAAmAsA== Date: Fri, 16 Apr 2021 18:44:31 +0000 Message-ID: References: <20210416060705.21998-1-decui@microsoft.com> <20210416094006.70661f47@hermes.local> <20210416110836.67a4a88e@hermes.local> In-Reply-To: <20210416110836.67a4a88e@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=d1da987e-5bfa-48ae-a8a7-5ad468a321e4;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-04-16T18:42:36Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [2601:600:8b00:6b90:d56c:64b4:268d:aceb] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e08139c6-a179-489c-9b94-08d90107ac87 x-ms-traffictypediagnostic: MWHPR21MB0174: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eDcl3ZCZuGcaaCkcKfANU6vDVJCO1l7e8xcQ6BEAjoXrxFpK4CfNVNVPLfJsD3rwg6/XUweTqgCV+h5qk/HOgrCyZTULMFVUz6Bj/wQRBbVkl7fBc7vpFeo4RHEiEy7gr06bA9YOecSnyJoqclf4kkRpkmMXy7ScJ7BpIsyCPP+cqk3fUwPNQRYreU/GnpghK0X3FgjQ6EuukvQiUOpWOqz/uquEB1OWx6DeuILBemQsmTercdZSt3ua7pQfv1XmEb3NVCFVW2VzQuKntgTSAC4Mga4DF5/bteF3R0DSNdWVCTktlQQL2VyoqDJd6EL623OP5GfQLeEklTJMjdIJJ3nbvOoowdIXUbuPvFp4XwQdsMjy1u2h8P9WkeGt3dO3zrfobTTC3gnUE90e/HvwCho4vlhtMDD8V/BSVIMmJ7SnXx9kfP4towDY0iv3bIWs//GSfaL4ktCGe37Q9dVnx+uS6qlJVDGEQWfO+SPIR/aoc24CWHZ9f/8Uq4vrL40lEUwI+CHyEs3Gn2lEHIT0kipZ1D81YYyAOpMFPFbAM0BjWFb2FVUH9g0bCkxyxL9tauHVLLTpY2HwJ6/vftp9hLwEksJdpSxe6AOk1kK9kP0= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW2PR2101MB0892.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(346002)(136003)(376002)(366004)(396003)(47530400004)(9686003)(7696005)(55016002)(86362001)(66476007)(66556008)(64756008)(66946007)(66446008)(8676002)(7416002)(76116006)(122000001)(82950400001)(6506007)(8936002)(8990500004)(6916009)(10290500003)(2906002)(5660300002)(186003)(316002)(52536014)(38100700002)(54906003)(4326008)(478600001)(82960400001)(71200400001)(33656002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?HuDFxBLNWdXyIS84buUCwuxmkQID6w5Bwfq4WJXfB9GtGlJj2kagtoNo6dYd?= =?us-ascii?Q?5eR/TEeXSZTBi4cSFTHvK70VDfO/frjBM1FBCAfgqooTNrzh6wt6ItF4NPQw?= =?us-ascii?Q?MR1nMGpfmU9/gL8KfKOsl8m2vEF9hAtsZN/8rIyLl94AUVvUTIJxoOKh4bfs?= =?us-ascii?Q?gsmrzW+rENf8UewgjDadt2GD/ALhR3JZyMRQtZLPWW8MPU9HF1TLErTsFIHe?= =?us-ascii?Q?LfLHqTjWaNHRoekYQuY4dL9gkxrfpXFbOkzUlICzRxpVi/qDjYb+CJ8FRx0F?= =?us-ascii?Q?cR/LBvq0lIZ1MYvrNd3LKHy5nAHuyODCTh1wDN5y2lSHNHGY7+SKbieO6orU?= =?us-ascii?Q?vbrxrMOKYUx0uGHvTCE8a1X20v3+2u+pm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UlOypN85UyPQ39hHueSHcTZ4/j6eIenTpNGJA41hja2avHCqS01FFIsr/i?= =?us-ascii?Q?lJxi/dAx/t/FZ3sUjzqCEKdvTsZ7jZ9XShDtr5SiodHFIUaLM9rwRbybweRm?= =?us-ascii?Q?3aGbCWU87+Snu97y1Uwv95uN+RbL?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR2101MB0892.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e08139c6-a179-489c-9b94-08d90107ac87 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2021 18:44:31.8843 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: LgXYAxVGEsu+kSANVuAkgLMnj81uVEntEq/Bxocmn8wmDLfbk1/cGa8U7e6mnRlCHkLPUB10XGnqlCJ+n0ApQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR21MB0174 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > From: Stephen Hemminger > Sent: Friday, April 16, 2021 11:09 AM > ... > On Fri, 16 Apr 2021 17:58:45 +0000 > Dexuan Cui wrote: >=20 > > > > > > > > This probably should be a separate patch. > > > > I think it is trying to address the case of VF discovery in Hyper-V= /Azure > where > > > > the reported > > > > VF from Hypervisor is bogus or confused. > > > > > > This is for the Multi vPorts feature of MANA driver, which allows one= VF to > > > create multiple vPorts (NICs). They have the same PCI device and same= VF > > > serial number, but different MACs. > > > > > > So we put the change in one patch to avoid distro vendors missing thi= s > > > change when backporting the MANA driver. > > > > > > Thanks, > > > - Haiyang > > > > The netvsc change should come together in the same patch with this VF > > driver, otherwise the multi-vPorts functionality doesn't work properly. > > > > The netvsc change should not break any other existing VF drivers, becau= se > > Hyper-V NIC SR-IOV implementation requires the the NetVSC network > > interface and the VF network interface should have the same MAC address= , > > otherwise things won't work. > > > > Thanks, > > Dexuan >=20 > Distro vendors should be able to handle a patch series. > Don't see why this could not be two patch series. Ok. Will split this into 2 patches (the first one is the netvsc change, and= the second is the Linux VF driver) and post v8 shortly.