Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp801724imi; Thu, 21 Jul 2022 11:13:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tUszdNTpqVEEEeSkmQt7pRaDLt8fG4oAMPju5buSPWjo9nL7/ODcWGQxEdJyxzMPGQ2u2A X-Received: by 2002:a17:902:9882:b0:16d:3e1c:3404 with SMTP id s2-20020a170902988200b0016d3e1c3404mr528071plp.121.1658427184447; Thu, 21 Jul 2022 11:13:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1658427184; cv=pass; d=google.com; s=arc-20160816; b=hZyqDU4ZpL2nBpooouLJDIhvdjXO3F+QhdiRL7o526y0EPcD8jg++oaAoA3+Y5IILD rjzt8HewpHvkeWPla1lFt71FYd+FV0zCY5ao7/uavdhibLi/QwDMtjso/qwFa5wKna3N F5N33RJOPBm62PCjlHxQO7dk+hetJ2OKfxU6sHuRBS/6aC/MFbk0ppre8oFzN9UqPEeI 8N/EbvEivgf8f0Aft3tCZvF1Lh9k7AKRs2HqsfZtLendvVsrv6wdvl/SDoBiNBGJq2xi QyFiRgGBK/2vevC4+PUR9+fVT10nwvohdObye0vSOtKdxo3Al988U34V0pRaN+Sofc6h LApA== 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=PsIO6/mHvMfVQQcRMFagqTLEqIukOO9GaO8am4fd71U=; b=ufXFHbj42WAUXeFfcmNLayC8KcfkOTqlkvAYq3JYPoAXouxO49Pqsnzs2sHajsmQ9U XmUjoYggMoUvnBXMGn9ZOp4VTmEbAoeBYyXmvacVfL8F0hkPiFGCUTV3GNSPTO9998qL wdiYMQUCKJwkNMFRUiuKCqTx8J2VGoYXzX9C6sarMhK3HOfG1UzVbNM2ZW8RYeC1r9Cm i2HQiMPcTnbWftD0YCy2O+xdQ2kFOrg9hABM8HAZnIZ1FaiF9v5M/1PjyznAWTcnUS4R ZyEcOKP4phAjplYNK3eEfQHdesfZblsbWPxFajH/yl15CV41+f4XDlyEFbiOTU5S/F6y bjcQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=bkD3OQRX; 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 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q66-20020a632a45000000b003fea0415b5asi2623136pgq.834.2022.07.21.11.12.49; Thu, 21 Jul 2022 11:13:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=bkD3OQRX; 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 2620:137:e000::1:20 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 S232134AbiGUSBj (ORCPT + 99 others); Thu, 21 Jul 2022 14:01:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230019AbiGUSBg (ORCPT ); Thu, 21 Jul 2022 14:01:36 -0400 Received: from na01-obe.outbound.protection.outlook.com (mail-eastus2azon11021021.outbound.protection.outlook.com [52.101.57.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB76F8AEEB; Thu, 21 Jul 2022 11:01:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=K0rvm3x45jaN61JcVX3CED69JJyOSSZ17oL/tFgQq9q7ACdi5kQn6hfkYYZWp1JC9VSP2gWTeU68I13gRXl1ndAj/ct5nL/96hqg0T3o6of6a5yigb5bSTJIxeEaBQ33llQaxyxhn7n+hj/2YfFxpd51UyAUPxzeubFAvOWThtZjsJUoi1DyDSVBg9ltSLFw1MPqRhAH8T1vox9kA9T+Z1FvHkX6t9WSTzhmnqyrGCaNpoRkbIKw7tBWVYxZMZFYlj2BiaZKdvgUuICcsevY4u/t8xzd3LmmoNotU5NsnelgKf2e+2f9BZlZ16pIsUHMgSh6LwrVAsPlsKn1ZYHwbg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PsIO6/mHvMfVQQcRMFagqTLEqIukOO9GaO8am4fd71U=; b=jZqi+g1RnOtlxumudfBOPXAw3BtC190v1AhbftR74X3XoSzgD8RoFn+wwasVO+ZQ7nre8cqTfa6nbM3GWw/t1axhkCYTOemJI5nkO6e0PsdaeIIheG0qXm0N5WRn5wtGBtJxs2eLhAYL8RxvCODpLiJX96AMhG9yjgfvvuzfwRzTx8eX5vM+5p+UihvVg8CBchWb5/sySiixsWz1jsDxCl+O28uLD4Cb4H97jHv4MMGgD+Brjnn7TmFCFxSVgJizJPlyl0SoKfJr3J5Lul78ngi4Ks0/D4/Jg0vIWI9OcOzI8sm3DdQcI8X5V47ROS8UF9O18J3qjRH7UAvQg/yb9g== 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=PsIO6/mHvMfVQQcRMFagqTLEqIukOO9GaO8am4fd71U=; b=bkD3OQRXJXOPI/xftFV+/iSrLg6IiDJmvT2flRWBhpdL6e0kyaMdZSYIOtLKd4numisrCYnmpeKBNni6Ap6GGNik6X1VrLFJLkIPjLRYmBflRyYzJOhAkRQ6E8UupWxs2TUmthN+9kyX6CChTpJR+IgO2Q8CPAxwglDI8oM5xJY= Received: from PH7PR21MB3263.namprd21.prod.outlook.com (2603:10b6:510:1db::16) by PH0PR21MB2062.namprd21.prod.outlook.com (2603:10b6:510:ab::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.1; Thu, 21 Jul 2022 18:01:33 +0000 Received: from PH7PR21MB3263.namprd21.prod.outlook.com ([fe80::69ca:919f:a635:db5a]) by PH7PR21MB3263.namprd21.prod.outlook.com ([fe80::69ca:919f:a635:db5a%7]) with mapi id 15.20.5482.001; Thu, 21 Jul 2022 18:01:33 +0000 From: Long Li To: Cheng Xu , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Jason Gunthorpe , Leon Romanovsky , "edumazet@google.com" , "shiraz.saleem@intel.com" , Ajay Sharma CC: "linux-hyperv@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-rdma@vger.kernel.org" Subject: RE: [Patch v4 12/12] RDMA/mana_ib: Add a driver for Microsoft Azure Network Adapter Thread-Topic: [Patch v4 12/12] RDMA/mana_ib: Add a driver for Microsoft Azure Network Adapter Thread-Index: AQHYgSXbjJmQZA89Xkq00e3L3Okxs62IwvuAgACRyhA= Date: Thu, 21 Jul 2022 18:01:33 +0000 Message-ID: References: <1655345240-26411-1-git-send-email-longli@linuxonhyperv.com> <1655345240-26411-13-git-send-email-longli@linuxonhyperv.com> In-Reply-To: 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=6f8b5fa8-c1b5-4a0e-a731-9724e25f544c;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=2022-07-21T17:58:50Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d209cd88-748b-40a1-342c-08da6b430bd3 x-ms-traffictypediagnostic: PH0PR21MB2062:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: G02QMm6tXxAWDrlz6QXg6Hx08X2XPizJFKCjJ9M31dL0bhAU2o14tXurQs/pBVslPko55TBmT03oc9/Hx1Zo4frJ6Yng2yg0LUTdHUvf2AARXAtOG3Tx/nfmgtGNSojAvmgVev4pwKO10VawoFxFZk90EXYukelZwkNg22CuHcgP3RUtBb6Jxqdb7XBxFWJ9wR48+5fMiey6TH9jP2GZ3SxdgkOw3VKnT7aahJPu9SRw3POW3HptY/YCxm3GXIVHh5HtwTl6Hvcqy1Df7c1TRVilRXCtWVzAldZdsYL4kR8WofBMUmEpzoBo+PX4O1kkHqudKXEXep53PKB1WkUVH3vHJC9ToHvkq0ZKY/kNmM/+JLhWrux5MWI2DModowk3jro4hA3V6S8IJjO3OatT+e0GB/ToToWu/1sD9ExIfbRqX6ygr2ZQ36RS4A1QIqCvpKT6wUakxtOT37Ybi8BJw02Gu8L9Y/E/5HDLQ1dh+AIOyzPR5af7nKm9vP1sP5mdKVOuwPFyQT+AW8/zWs03E7/6FldTbWRoOGVgdDi3t9t7xiETiSo8sURKUuKowXdYpacIvlJb4fi6UmKWKZ8F/N9JdBwUvxTQP9lP60INtDBsVeZoi4KuzWaeH8HSNS6cDpCQq0k9fIuWYs8BYQOW6on5KbCS2nP2iib4e2RloXqaPN5Srona00h6ttjByIDzut51pLG7uZUDpojuuGCGcWY8Pw4Wyx5Gp5EgoVOAjxm2MNvxOmqZM1fWeJyHv+Dq/ZsXrgHxK6xdcaPuirX4AtmxAxV2vVeaCyTw8u+10NjMNPT8OppNlFITCKNMe1LJOyneN3x+11OtvoKVKrTUCqz0ZEqaQ4Yr0xstkhBU3WpX4xWD81fwLfj7jWEWMTgK x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR21MB3263.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(376002)(136003)(366004)(346002)(396003)(47530400004)(451199009)(186003)(7416002)(41300700001)(2906002)(6506007)(53546011)(478600001)(71200400001)(82960400001)(7696005)(26005)(83380400001)(9686003)(55016003)(54906003)(5660300002)(76116006)(38100700002)(8936002)(921005)(33656002)(66556008)(10290500003)(66946007)(8676002)(4326008)(64756008)(6636002)(52536014)(110136005)(122000001)(8990500004)(316002)(82950400001)(66446008)(38070700005)(66476007)(86362001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?dytncXJXZlN1M1NpaUxieUZ1eGh2TW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?= =?utf-8?B?MEhDdS8yUS9OY0hvMmpRaldDNDZSQlhoclN6dkJQOUk1TE9KODg3SHcvcWhU?= =?utf-8?B?OGZnNXdhUTU5S0RLUjVmdmZVZkc0d2RaZW9NYWdlWDY5Nnp0R2RTN3djWFdQ?= =?utf-8?B?Vk9KRmdtdU95eUNuUFZlWUxyV1NkOXdqYzdoem1sT29mbHFGUmJvL1Q3WDk3?= =?utf-8?B?eDJRc3NObUdRbWMrdGtxU2lrQTRvbGZjR29rbXYxTDdONjQ4QisydU94Ynhq?= =?utf-8?B?SHo2MnRydXNUMHFjWlNiWHBnSm9GNTM5QTZWL3BzS1I5V0QwajJkaURQZ0tH?= =?utf-8?Q?tk6AeYqFBG7RuebP3n6+ZeIsY?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR21MB3263.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d209cd88-748b-40a1-342c-08da6b430bd3 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2022 18:01:33.1561 (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: vOvqyVZHgcjR5RY9P/BifatgVrUqupyn5DWxY3RtFRtpn+nvo0LieKn9o/nGPsHvbIwsylUxlmR/PQrIsRCQwQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR21MB2062 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBTdWJqZWN0OiBSZTogW1BhdGNoIHY0IDEyLzEyXSBSRE1BL21hbmFfaWI6IEFkZCBhIGRyaXZl ciBmb3IgTWljcm9zb2Z0DQo+IEF6dXJlIE5ldHdvcmsgQWRhcHRlcg0KPiANCj4gDQo+IA0KPiBP biA2LzE2LzIyIDEwOjA3IEFNLCBsb25nbGlAbGludXhvbmh5cGVydi5jb20gd3JvdGU6DQo+ID4g RnJvbTogTG9uZyBMaSA8bG9uZ2xpQG1pY3Jvc29mdC5jb20+DQo+ID4NCj4gDQo+IDwuLi4+DQo+ IA0KPiA+ICsNCj4gPiArc3RhdGljIGludCBtYW5hX2liX2NyZWF0ZV9xcF9yYXcoc3RydWN0IGli X3FwICppYnFwLCBzdHJ1Y3QgaWJfcGQgKmlicGQsDQo+ID4gKwkJCQkgc3RydWN0IGliX3FwX2lu aXRfYXR0ciAqYXR0ciwNCj4gPiArCQkJCSBzdHJ1Y3QgaWJfdWRhdGEgKnVkYXRhKQ0KPiA+ICt7 DQo+ID4gKwlzdHJ1Y3QgbWFuYV9pYl9wZCAqcGQgPSBjb250YWluZXJfb2YoaWJwZCwgc3RydWN0 IG1hbmFfaWJfcGQsDQo+IGlicGQpOw0KPiA+ICsJc3RydWN0IG1hbmFfaWJfcXAgKnFwID0gY29u dGFpbmVyX29mKGlicXAsIHN0cnVjdCBtYW5hX2liX3FwLA0KPiBpYnFwKTsNCj4gPiArCXN0cnVj dCBtYW5hX2liX2RldiAqbWRldiA9DQo+ID4gKwkJY29udGFpbmVyX29mKGlicGQtPmRldmljZSwg c3RydWN0IG1hbmFfaWJfZGV2LCBpYl9kZXYpOw0KPiA+ICsJc3RydWN0IG1hbmFfaWJfY3EgKnNl bmRfY3EgPQ0KPiA+ICsJCWNvbnRhaW5lcl9vZihhdHRyLT5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