From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8F43442DC2; Mon, 3 Jul 2023 15:59:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7E20840EF0; Mon, 3 Jul 2023 15:59:05 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2053.outbound.protection.outlook.com [40.107.223.53]) by mails.dpdk.org (Postfix) with ESMTP id 1DB4040ED5; Mon, 3 Jul 2023 15:59:04 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QP9UT55FTg4rrOX63z6qYZerWiFwAnAyMz5KokX6dDlwAczWvpwLAChQSq7QMkT3U0nqliwp2f+K2s8+F3EHCt1Cwn4ADY4tBU84PTqCzBM2XMfHwQLfkZr+qEfwcWI4mtWKHpxVVkmr+F8le5qOaSnLLBgQnvJ83DKHtJg9lybX9q1vfTvdILMi1T9kljCRovR8+WPdsdi+gkQpd1JRuJazK7SqI6YQ4TZc71rp+Z5cbGwoaTGuXcVWSVxBv6K1fu2RfSrBPyg7xbcMVuEJ/zyylHZ8Cbko7XxcpmKEJUF8PuFralds75EbEXLhiTj3Slr45Yi3ykwfQtD907jMbw== 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=DsYADn2z3CPQUZatI5+wbJyeXTfFEbshSRYGC8ctjfk=; b=OEvGjA5vbuJNqROYxCHoRGweAyBL0BmZbr7QfYcsOXTYv1Dm0+9rJYL44r95uqwGLqQtQqgqnjwq3QXeIshO+K3DINawqTk8kwCfznVYUjCPQWkI54ycbd+iLQ7eUyQ4DjeFKbLIq/MTzkhBpw9b5UUuv21xqDwVZwHTIZnMw0lSOIz4e3CZNvQrdPC+4IB6rhP2Q28qGhEVx/UGhCACH3PpFGFDOc9DDJ12CcQAtaB8y1PWDDleJXh2051w2DK+vjNR0DH1aZO9jlb1p+GQbjcpVrNzM6yMctFNJi5zfndIQBpg5voYLmqXvhkZsBX4a3AhW3ms2MM0NnWmPky29Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DsYADn2z3CPQUZatI5+wbJyeXTfFEbshSRYGC8ctjfk=; b=Nm/NVLJYROjCNQgnJ7vMXpcB2O4GBTxvIPm6IqdU/yckNxFt2YOf8jPtk0tXRTCH3appZnyJHfPPEfrAT+iuZYz4BA/q0swbBLtisZkf031UlFac9aAWE1A1vqCTMTvVVGkdfpeV7pXoPnOoWop9cDkubqeV1gT1wl1F2A7RL3RqR7HBvZydDYsgy5cLcwJ4fEUMm+BVVb5b3zM9M3Q7TvyYAWLHj3zrxfM+Y4taH4RGE4F8ybl5ihhX7OAJrSjVP3Yq4XnSwKEqZaIteoZPL4EiiW2+Dh8cAixJLv/TmTP6zXvpNlVI0EHw+pz0HyCMLNo1U1wyyp5V1vqqaD8O0g== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by MN6PR12MB8541.namprd12.prod.outlook.com (2603:10b6:208:47a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6544.24; Mon, 3 Jul 2023 13:59:02 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::3a0c:ccdb:580c:11b6]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::3a0c:ccdb:580c:11b6%6]) with mapi id 15.20.6544.024; Mon, 3 Jul 2023 13:59:02 +0000 From: Raslan Darawsheh To: Bing Zhao , Matan Azrad , Slava Ovsiienko , Ori Kam , Suanming Mou CC: "dev@dpdk.org" , Rongwei Liu , "stable@dpdk.org" Subject: RE: [PATCH] common/mlx5: fix obtaining IB device in LAG mode Thread-Topic: [PATCH] common/mlx5: fix obtaining IB device in LAG mode Thread-Index: AQHZq1BMJmapXKV78U+urElqrDSsHa+oFjag Date: Mon, 3 Jul 2023 13:59:02 +0000 Message-ID: References: <20230630124139.435300-1-bingz@nvidia.com> In-Reply-To: <20230630124139.435300-1-bingz@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BYAPR12MB3078:EE_|MN6PR12MB8541:EE_ x-ms-office365-filtering-correlation-id: 4189b181-8cdf-40ee-397c-08db7bcda819 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: l+yvC4miQNNUpGpinsMK4zJibkzIwqsmDv0mq6CxSZCSUv64wEDSPwWGGRyGlmScEQEUsQSwYKE0WxUwUJZCAx2aqo7wvRA2PL9wTED01KtZ70Xe9aY60UZaY05Agu5I6Y3rkeCcheRhju3MyIGgxn/NqlWLlSJEzXWOn4r4wSl8JuSW7WoUoJS1aJDDo2tb/7aobKpzCYV+vqGoAiBpOS9GfeWrfWJd1qeWdWtizxovTZv9R8oL620J7MEvekUYAecYb3kb9m4UQ9mbQs8Zu389TGwA9DfVauZBTtoMa97qVVGRAdm7H5UKujpTn3MV8KtnHCbjR1lGuM6IXgnjNju9mbbiRfmqK2qxL3dqBytsOkRv+7PcCyglM+zjc7FlmvEWutqCyWgkHmk62GgIYMUjyvTrH9lF0VWT+5is+90aa4Mj0ADX6yaPrba+6LSBmDmNOcyHBA6BzkCv+SQivVpykxQjE/OibwhZC8q8MCX5Sh2udvIKNRgtg8a3doiF/a8FXyeH3efO2dV8axc1IXkGKZlfQMqDEEjaoqmoRykSbRWeaSX/d/GNbeAnmSmf26yDa27BubTdYBsrMOS1yNeQjXHvSzymNgkyAz8Vj7+TQhaKPeAE9oXAp1VIv1lJ x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(136003)(396003)(366004)(346002)(39860400002)(376002)(451199021)(66446008)(4326008)(33656002)(66476007)(64756008)(450100002)(66946007)(76116006)(66556008)(316002)(2906002)(478600001)(8936002)(8676002)(6636002)(52536014)(5660300002)(41300700001)(55016003)(9686003)(110136005)(54906003)(86362001)(38070700005)(38100700002)(7696005)(53546011)(6506007)(26005)(186003)(122000001)(71200400001)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?WEtDUHV4UEVSNU5zQ0xmODh2OGxnYkJNdGpwTDNqbm5yU0VjbkNmaHpXMmFk?= =?utf-8?B?ZENTVDd6dzdROXJqN3g2aXpXNVpxYzg0UDR5NmF2RE44OEpMb2JQUzYwVDAy?= =?utf-8?B?MEVNNHQ1SnlpeHZpS0NGa1ZGbFExZDcyZXdsTCtZYXFKUGJpZkNNWDFFKzZ4?= =?utf-8?B?T3huWlRpYTJpUGw1dUNWczdVWjQzWEJyNTN5R1VvdlB3djR1dFpPNzZtODV6?= =?utf-8?B?cjN3aE4wQXY3WWNrNXc3MlVRVzNYdGo0eFo0dUdFcThiYVFPUmducFAwR1lO?= =?utf-8?B?aGpBalRLZUcwMjdnV2xhQ0dpcExqcENYTHh0ZEJqTnpqZW9DUlVsZnZUR1dp?= =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encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4189b181-8cdf-40ee-397c-08db7bcda819 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jul 2023 13:59:02.1752 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Av1nO6Vm9J1pA8pBLjf6RLGzlO7gBdmL65eNHwAN9w3NO7Kg7UW9jNzk00NTvf1FYKRaTtl3/OozxdMh9N0Suw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN6PR12MB8541 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQmluZyBaaGFvIDxi aW5nekBudmlkaWEuY29tPg0KPiBTZW50OiBGcmlkYXksIEp1bmUgMzAsIDIwMjMgMzo0MiBQTQ0K PiBUbzogTWF0YW4gQXpyYWQgPG1hdGFuQG52aWRpYS5jb20+OyBTbGF2YSBPdnNpaWVua28NCj4g PHZpYWNoZXNsYXZvQG52aWRpYS5jb20+OyBPcmkgS2FtIDxvcmlrYUBudmlkaWEuY29tPjsgU3Vh bm1pbmcgTW91DQo+IDxzdWFubWluZ21AbnZpZGlhLmNvbT47IFJhc2xhbiBEYXJhd3NoZWggPHJh c2xhbmRAbnZpZGlhLmNvbT4NCj4gQ2M6IGRldkBkcGRrLm9yZzsgUm9uZ3dlaSBMaXUgPHJvbmd3 ZWlsQG52aWRpY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