Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp64635rdb; Thu, 1 Feb 2024 02:05:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFj9g5HfJFs/+MnZLIcrtvNIiUUmhOJeaj+LHNROoEjDCTXwyzJXMT+ZksBFEuJxz4b43Bx X-Received: by 2002:a17:906:2e87:b0:a35:cd14:8c73 with SMTP id o7-20020a1709062e8700b00a35cd148c73mr3328451eji.59.1706781926650; Thu, 01 Feb 2024 02:05:26 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWy3qZasu/zVA4PGiT6Ok/frIpNHaIP7Eygo8Omw3QScyDlNlCc88vmqcx91A+4NZywYrsENsZKaADscdeQoM8jF3qslaa7ZyM8Mu5H0A== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id u21-20020a170906409500b00a35fdfac2besi3032388ejj.1024.2024.02.01.02.05.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 02:05:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-47934-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=HhLeCqJC; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-47934-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-47934-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 3F0981F2B526 for ; Thu, 1 Feb 2024 10:05:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA01315B101; Thu, 1 Feb 2024 10:05:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=microsoft.com header.i=@microsoft.com header.b="HhLeCqJC" Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2101.outbound.protection.outlook.com [40.107.22.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7AEE24DA19; Thu, 1 Feb 2024 10:05:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.101 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706781914; cv=fail; b=bwLcwdSIEqC9lAm42phx6jqzx0NZOA72SBvtYsOxWUkgS9eY2MCsd3iErpc98Nn4NHFT0xsP4p0Z/hOAbGxwwFlimZPnKrMC5fc0noopxa8thuDANx+LWibD+6m2EO5pP73i4TIVpPjKLsumEi/Rg/Oay07H2B8K1QVKaRkdQ5U= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706781914; c=relaxed/simple; bh=FPB1OWhbmfzbmpzDyjTXxsp1iw+OuemE+PDQFncMtRI=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=ETq5znf28mqFP/sDVSVFpenJO2GfO6Jg6nS52D0tNJBngyFKq2W9RxE3TXqWSbL52GiJ5Tq9YKqXHYJddThoQrTGB038iZFyUffalACAp0BtsjfCwv1BB0sEu5gQhMwNs8HLMrl7MPTpLbl4sQYLb5HAlI8jrfhMxZCjdkHAthU= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microsoft.com; spf=pass smtp.mailfrom=microsoft.com; dkim=pass (1024-bit key) header.d=microsoft.com header.i=@microsoft.com header.b=HhLeCqJC; arc=fail smtp.client-ip=40.107.22.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microsoft.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lrdri/BUpm4ZDCWe14bvL4EgQB0IS8IFBmL+/hO+bSVeyYhUdc/7VdXxfpo0/NsxvLH7bWictSOHF/lpS1Ix51W1LtNWcNQ8+PBCA40pNXS1IzrJ9nzaRogPHzmpt96iUYeTVdTo3lXvDkibV/rjCDdqnOUBKH1F0PJsTNuDAvlNsLkwObm3AIz5zYrgM8wEgyLTqeo5WJ0UnZY9voakNmeWAfD8I9CZdO6q1v73cyATt7wYzvff20tL2h7E8f72rSNCvsbL+xjecLa9b9RsiryPg9Bx9KtNZxm/LuE5Y/EglUJweEwgCgzgFAhtv69HNTsrCY6UmnIhpO+Y/dSeWQ== 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=FPB1OWhbmfzbmpzDyjTXxsp1iw+OuemE+PDQFncMtRI=; b=CttXtPyCinQ1qxJjItJYE+qunm7Xynok7GO3thH/1IF9yHknm7DPSC3GA8bu40YJMGmsfvWjgIkTk4DEhxKlWoNrYEGZOnyH7304921/Oh/8nzC8KozKDm8/TdQ6GwO917jsHSHbZsDkKD0pcoed34AnLc9Hb6+hDHa/BniquXCESc5CA4OSPIPDPDCz2H7Gjjxvcs7tnMSVtWP0iJu/lGvjXnGfph6gkreJegu/iB/LCZ9jYFgjX6V6AvNWau3JQarOE9BIXTuUn/2bw4lHTJa/Xx4JT/t8Em8Yr9G2tu8irVn6vxrd9xeUtq8E/Gx+h52cfIiS/B7qI4Cid6J/7g== 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=FPB1OWhbmfzbmpzDyjTXxsp1iw+OuemE+PDQFncMtRI=; b=HhLeCqJCSUP2C5yxwX0ZPJmHCZN2iStGKW+U6QrPruTYZgGvZQJ6D6q7lYb59pG68rejtznex4xQqAj2B7nN8DqaYJzb33VpaGyPiYRrKmg9fT/x+j5ufpI2OykiqmVeY86FhCM2YVmBru6QKcrZdfGH+UXa2bigWU8AJsJNa68= Received: from DU0PR83MB0553.EURPRD83.prod.outlook.com (2603:10a6:10:322::19) by DBBPR83MB0614.EURPRD83.prod.outlook.com (2603:10a6:10:533::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7270.9; Thu, 1 Feb 2024 10:05:08 +0000 Received: from DU0PR83MB0553.EURPRD83.prod.outlook.com ([fe80::a8db:9564:bfb1:181d]) by DU0PR83MB0553.EURPRD83.prod.outlook.com ([fe80::a8db:9564:bfb1:181d%4]) with mapi id 15.20.7270.003; Thu, 1 Feb 2024 10:05:08 +0000 From: Konstantin Taranov To: Long Li , Konstantin Taranov , Ajay Sharma , "jgg@ziepe.ca" , "leon@kernel.org" CC: "linux-rdma@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH rdma-next v1 4/5] RDMA/mana_ib: Enable RoCE on port 1 Thread-Topic: [PATCH rdma-next v1 4/5] RDMA/mana_ib: Enable RoCE on port 1 Thread-Index: AQHaVDQVXIefiiQAVkGTqp7U4WO3BLD0X5gAgADj6tA= Date: Thu, 1 Feb 2024 10:05:08 +0000 Message-ID: References: <1706698552-25383-1-git-send-email-kotaranov@linux.microsoft.com> <1706698552-25383-5-git-send-email-kotaranov@linux.microsoft.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=447472f6-7b77-48a6-9d46-53f657f92654;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=2024-01-31T20:26:02Z;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-traffictypediagnostic: DU0PR83MB0553:EE_|DBBPR83MB0614:EE_ x-ms-office365-filtering-correlation-id: 4db86051-c0ff-42b9-f736-08dc230d4567 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QjRtrF5iLYugCoCyP7Ew3EHjxado68xAjuc3z6jmEtxG423l2AVfKDqVhbnUIHajw72/U9VVhY0xWcejfxuEUi4/r1N/YFkmJLUMs0N+44N+Lc0AlKTsIoiHvN4K2LLqOYUV6ThxaiyVDdsb6JSqBUn1Ji1Nc+5fI8U7JyDOqzj1+Vp0zbhQyD5zYSIY9Hco0rRAI6vFM7y3P6GNtVmrWSt4ltRUBZwTDS2cT4Bv4CtGPwcBGujvQF18V0SzAp5pCV0R5tsjgmHf5WNQEjuJhUK1ZD/hQcvI4qOMrjt/Fxc4pTYiTyhvlzPguZSJ1G3lhAdylnL8IT8ExDAoXkDDK5eWIr5LqBohlRDlU2Zn0QaWGdpy6NCnAEMPIB2Wf+c+0UnAOCXiSwrV8YVb6C09lj1gCm7xB4e7GV8pjKxEcJvBpljaUoTMw9Pg1EAN6Q122oGYFvjdMawBxF8b16i2g4IeAI8vTX3Dt6rio3ySdUz6HR9U23u2y7M6EQHZwVy/juHVboxfvA8AMw7RgNK/AQe0y9r0jb1KdMhg+OArV6qkag/rcWIwVrdIX/Mm86G9eDlYxZurYP7JjI4wIlUJEEwDCdg1Y+lBOstJ/6P+j7cKWlCz0l4pdwM9modXq0qz x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR83MB0553.EURPRD83.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(366004)(396003)(346002)(39860400002)(136003)(230922051799003)(64100799003)(1800799012)(186009)(451199024)(26005)(55016003)(41300700001)(54906003)(38070700009)(316002)(66446008)(64756008)(8990500004)(38100700002)(82950400001)(10290500003)(478600001)(9686003)(7696005)(6506007)(83380400001)(82960400001)(71200400001)(66476007)(66556008)(122000001)(33656002)(86362001)(2906002)(5660300002)(110136005)(76116006)(66946007)(4326008)(8936002)(8676002)(52536014);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MHpFZ1UrZDVyRnpKMFdkcnBLSTN4WERkYjBUNHZHUTdMUGpDMWhEQlVmR2Zs?= =?utf-8?B?RFlyK1U0Mm9TaHRuV0pKTGpMR2FzcEtKb2hzeG50bnV6bmZpQW5mUWFXOHIw?= =?utf-8?B?bmJaVVl0dUhqaGNpdkFWY1pEZXl3M2JUZng2ZEZFTHdMaW5BaDJtczN4TWFG?= =?utf-8?B?akxnOFRINWNhL1BiN2F3aWJnUzYwR3FWRktmNC92dldldEt3cTFUVk5sM0Y0?= =?utf-8?B?dmlKcUdTUjRyWGc4QTBQR3dJK0VXS3Nyc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VN1VEM2R3VE?= =?utf-8?Q?O8+Guy?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DU0PR83MB0553.EURPRD83.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4db86051-c0ff-42b9-f736-08dc230d4567 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Feb 2024 10:05:08.5703 (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: 4o3VambvpeWjQT3mbu11geoUfWYonJNG2r0z1YyNa9P6ybvgp4KNV6j5YgymqcaSrkTpRrGKi1q9L0t0grA7zA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR83MB0614 PiA+IFN1YmplY3Q6IFtQQVRDSCByZG1hLW5leHQgdjEgNC81XSBSRE1BL21hbmFfaWI6IEVuYWJs ZSBSb0NFIG9uIHBvcnQgMQ0KPiA+DQo+ID4gU2V0IG5ldGRldiBhbmQgUm9DRXYyIGZsYWcgdG8g YmUgdXNlZCBpbiBHSUQgcG9wdWxhdGlvbi4NCj4gPiBtYW5hX2liIGlzIGF1eGlsaWFyeSBkZXZp Y2UsIHRodXMgd2UgbmVlZCBHSURzIG9mIHRoZSBtYXN0ZXIgbmV0ZGV2Lg0KPiA+DQo+ID4gU2ln bmVkLW9mZi1ieTogS29uc3RhbnRpbiBUYXJhbm92IDxrb3RhcmFub3ZAbGludXgubWljcm9zb2Z0 LmNvbT4NCj4gPiAtLS0NCj4gPiAgZHJpdmVycy9pbmZpbmliYW5kL2h3L21hbmEvZGV2aWNlLmMg fCAx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