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 64A7845BB1; Mon, 28 Oct 2024 14:12:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 578EF40E78; Mon, 28 Oct 2024 14:12:38 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2085.outbound.protection.outlook.com [40.107.237.85]) by mails.dpdk.org (Postfix) with ESMTP id 5ABB4400D7 for ; Mon, 28 Oct 2024 14:12:37 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=C36OpegnPRHaF0JYtpmW1O5nrf48gvQoNA06WqdDTPa33Vg3Uui2G9A4soxHxlVYxtj7FbeBQ11ChycV/bKgHFKBrYwQuR3OCm2US8FuCc43TiSTfXqFdDXFzOy/oxx+GilZp+uXo/GH55kxfoJ/frBpEj1M7P3OtZFrqn/dLUjXswWLGNe2m64e83iy7JtbVvILvh037qcDfkNX0xtxFl7iL1TGa/rpcy6IdpZ70+5dcuhUQ7ELK6aOZmLZgXjVXGe128O9nySd4wdHX7eRiROC98OzPzi+qYIK7ZxoGYDknsXR4DBoFJZlkletWn5xHppp8gxd6ReIAJJ71AEQ6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=Ps+uGNUJza6xFQADEUlezvu8ydl3guELsAO/SZR8Rx0=; b=Qg3KXcSJ/vbY2V3bWMUivpa4nxPfJ+iW9gbe7NOeXMODQ+9syf7NCtCTOKwi495VGJPo4ttz21+gz04FT8EdlTHbapi634QCw1fWDe8vURQnlnrexwOKesHV3yN/yp+vEVMCQojfzcD+AyKyaDkAT6TLQDhp5nb+74lD1oG+4xQE06o2e2kzye3q5U8CvWg8fabpPSPZdTuPYMKcC1bmH2vQdXcAJWrlsLjbJuBjGN3WGscpbP5wh+uYFWAj3t8iIv17FdR9EhC/jl9ApjKXDsO9x9C2p8b5IbQGHqUl0HNvr1qu4TtCM55vPGlPLe2+R8z4ci43yreLatTOPusTKA== 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=Ps+uGNUJza6xFQADEUlezvu8ydl3guELsAO/SZR8Rx0=; b=uYoMwKBUHQjwK6KvFjIsPle7e3Z6dyyH8Yu2pfz854XvnGDN3CbrouUpvTPR4WARcu5F4dmKPIMDI2LTGtnhaoZC08dh9f0gkBXQo4XT8Z6FpkUHhhwZfjgeRxAdG3y5jHTl32Vw2o16kd40Z5kKywDLV3GqUZuzpVOjPoG9xH/LyB67F/ZwCGUXWMVipDpZoSYguINC0kbJDE/NyLkMGamz4rASnVU+5wixPtMhx29cvT9yw4LS1VWd6bClUWrhVkq2lzfZC/ZDm17WTVjMkR9wvN3wZMakY4idK5w5Z6NCu1bQuZmcShl/EflXWVwpcPsIgEzxnJZQQPbRRaAOlg== Received: from CH3PR12MB8460.namprd12.prod.outlook.com (2603:10b6:610:156::15) by SN7PR12MB6888.namprd12.prod.outlook.com (2603:10b6:806:260::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.23; Mon, 28 Oct 2024 13:12:34 +0000 Received: from CH3PR12MB8460.namprd12.prod.outlook.com ([fe80::2e9d:7265:3b84:59b5]) by CH3PR12MB8460.namprd12.prod.outlook.com ([fe80::2e9d:7265:3b84:59b5%7]) with mapi id 15.20.8093.025; Mon, 28 Oct 2024 13:12:34 +0000 From: Raslan Darawsheh To: "Jiawei(Jonny) Wang" , Suanming Mou , Xueming Li , Slava Ovsiienko CC: "dev@dpdk.org" Subject: Re: [PATCH] net/mlx5: support no host PF configuration Thread-Topic: [PATCH] net/mlx5: support no host PF configuration Thread-Index: AQHZ/A4ZMInmA/xp/UiPjhQhzeHjJbKefeUr Date: Mon, 28 Oct 2024 13:12:34 +0000 Message-ID: References: <20231011064153.46486-1-jiaweiw@nvidia.com> In-Reply-To: <20231011064153.46486-1-jiaweiw@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: 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: CH3PR12MB8460:EE_|SN7PR12MB6888:EE_ x-ms-office365-filtering-correlation-id: bbab7998-5d6c-4013-252f-08dcf7522fe8 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?XdwiZ8W6j2dBTeu/Qeye2gsiJrHSjkzdsruNByzyB1GYrnIcKdHs76UqfR?= =?iso-8859-1?Q?3saH/YMrv8GcSOcRH2DXLYCj2C7b3zx5CwB7mcuhe+bOwcvz5OFTBtAf+e?= =?iso-8859-1?Q?1cp/DzFU3fbNQZcsXyLVLbCGX1Soow0Qpx4HIb2dBOrYFGpvxQcf49uzks?= =?iso-8859-1?Q?GFOhziW0EZerjWdKtKJaqfSYNhXxH9+f+CcioQMsEwWmu+5Pft1lcVW13U?= =?iso-8859-1?Q?TEu0bzxXGtkI251rXcNcPeoZcclv9ynokP0m8UOwAJUKDvg9hzGqIhr+fb?= =?iso-8859-1?Q?oRukuCuQD4L7XTBTF8El/Y2CYPmjkwd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so-8859-1?Q?ZX8XAV/DhUuSk79qwZ3+hL5vZ6mZk7pCXIVta/obV8KPIWfyRJI6VqLnju?= =?iso-8859-1?Q?1XGNSdkOLygjxb78YpBAOmkzwUIoYUBzDz25lvI4bTMnnE+urKBr4HvluK?= =?iso-8859-1?Q?RSnAQALy3tvUhBniiQPrXXVNVJWNUwzD2eWqfSa0eacUDRGE4IAtDI5Rxz?= =?iso-8859-1?Q?KL/kraPHXzAL4lIPu/mrSvQJOKrV3KFpNVNsb69yaqUuWHdQY+oXU=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH3PR12MB8460.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?BMqWkqbd9o+r4GIgJsNUy0ZoBetsM71ZUJdV3wfnu2i/IR0Mher+Th4sXm?= =?iso-8859-1?Q?4hVVoIjvEOMN+MLzhGa1KFmYdkOXOgjyQ0YbwzHYEwXYHiAjWRoJHXSWdz?= =?iso-8859-1?Q?yEGcuBU3RNl+oyVD+bHGMA2QXtCVZ65XPWHBklyEQFfjWO096Q6V9K10wx?= =?iso-8859-1?Q?hRXkMv54OT5MC5T2yooKjr0kbWE+bVlGH4Vbmr6sRQQnmlXWJ+amppaEmA?= =?iso-8859-1?Q?CYSq3C/2m5yakCL7Ns+ibvkq+1moBBcCumeX+4+JGjVhN/OtwqcoSt5XNw?= =?iso-8859-1?Q?VB7Aeq6N9G4PRPHVSOsb/2PxF8nfPjSnF/t4SL3u2BN8aH58cc0S2rSIrE?= =?iso-8859-1?Q?yUjJANyzRtYqPjN8b6vRwdeGc+PcCEza6sfAlHWmCf99+jqRdkNl0hQu6b?= =?iso-8859-1?Q?XHmhYwQv4/dl/CjFKCb+wBV/oH6tFfZf+29dAcI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YhuR+xn1uh0M86t2pJsHeIaCDIDQUO5T3tFbS3TV07YVR9PHmB6jCTj?= =?iso-8859-1?Q?jiN9CKVD71pSzMnhcjAqqTg5njdwfiwPA3kCB+nYq9x6L8X5InueF65a9+?= =?iso-8859-1?Q?be4PaxFD5Y6AGeUqCgOY+TpMjDw/PA79upuc4s/Hjw/RUIM+eVcJW9bzFL?= =?iso-8859-1?Q?N52s+MavgBYH7OpQ6ca2g7zCuJMhmz9PFa014iOY7q6Mcd8Sh/wkojgzmi?= =?iso-8859-1?Q?pwF4/i1d0+bwMb+KPpLLPFi43daAV8UQ7N30NIsE8Ge/0hA+DUPHtyBPYz?= =?iso-8859-1?Q?SOPYFqnVQUCBc=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH3PR12MB8460.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bbab7998-5d6c-4013-252f-08dcf7522fe8 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Oct 2024 13:12:34.2262 (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: ydtJz3SlwNUpyAaqJ6Tj0JGFrv+6vnQGCibeoLg8kr2zZVS6CeKFq9Z5dBpMRRZ7FR1NbsQ2DheJjL0CqStO7A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR12MB6888 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 Hi,=0A= =0A= From: Jiawei(Jonny) Wang =0A= Sent: Wednesday, October 11, 2023 9:41 AM=0A= To: Suanming Mou; Xueming(Steven) Li; Slava Ovsiienko=0A= Cc: dev@dpdk.org; Raslan Darawsheh=0A= Subject: [PATCH] net/mlx5: support no host PF configuration=0A= =0A= From: Xueming Li =0A= =0A= In BlueField, a new firmware configuration option NUM_OF_PF=3D0 disables=0A= PF on the x86 host side, no HPF on the ARM side, and the only RDMA port=0A= on the ARM side is the bonding device(PF0). A device probe with devargs=0A= of representor=3Dpf[0-1]vf[...] will probe PF0 and PF1 one by one, and=0A= it's possible that PF1 device scan results in no switch ports.=0A= =0A= This patch supports the new configuration by allowing a PF scan with=0A= empty switch ports.=0A= =0A= Signed-off-by: Xueming Li =0A= Signed-off-by: Jiawei Wang =0A= =0A= Patch applied to next-net-mlx,=0A= =0A= Kindest regards,=0A= Raslan Darawsheh=0A= =0A=