From: Paolo Abeni Date: Thu, 21 May 2026 10:12:04 +0000 (+0200) Subject: Merge branch 'net-mlx5-prepare-eswitch-infrastructure-for-satellite-pf-support' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33fb2e2bc7a43c79f02dad79c39ff04ae6dc224f;p=thirdparty%2Flinux.git Merge branch 'net-mlx5-prepare-eswitch-infrastructure-for-satellite-pf-support' Tariq Toukan says: ==================== net/mlx5: Prepare eswitch infrastructure for satellite PF support A satellite PF is a new SmartNIC configuration that adds another physical function on the DPU that is not an eswitch manager and not a page manager. The satellite PF can have its own SFs and can be passed through to a VM on the DPU, providing an isolated function for users who should not have access to the privileged ECPF. The ECPF handles the satellite PF and the host PF in a similar way, using the same management framework. This series prepares the mlx5 eswitch command interface and vport infrastructure for satellite PF support. The first two patches abstract host PF data parsing behind a helper and switch to the v1 response layout for query_esw_functions when supported, so callers are insulated from layout differences. The IPsec VF checks are tightened to use mlx5_eswitch_is_vf_vport() instead of comparing against a specific vport number. The remaining patches refactor SET_HCA_CAP and enable/disable_hca command helpers to support vhca_id-based addressing, which is required for managing functions that are not directly addressable by function_id. A follow-up series will introduce satellite PF discovery and management using this infrastructure. V1: https://lore.kernel.org/all/20260510053448.326823-1-tariqt@nvidia.com/ ==================== Link: https://patch.msgid.link/20260518071356.345723-1-tariqt@nvidia.com Signed-off-by: Paolo Abeni --- 33fb2e2bc7a43c79f02dad79c39ff04ae6dc224f