]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: Rename MLX5_PF page counter type to MLX5_SELF
authorMoshe Shemesh <moshe@nvidia.com>
Fri, 3 Apr 2026 09:00:27 +0000 (12:00 +0300)
committerLeon Romanovsky <leon@kernel.org>
Thu, 9 Apr 2026 09:26:39 +0000 (05:26 -0400)
commitf9e3bd43d55f24331e5ea65f667dbb33716e7d6b
tree57d254edd976d3a32bf5ae0dcc53def4f5009ef1
parent26469110c750c8179560637dd813e5d65b8148d2
net/mlx5: Rename MLX5_PF page counter type to MLX5_SELF

The MLX5_PF enum value in mlx5_func_type is used to track firmware
page allocations for the page manager function itself, which is either
the ECPF on SmartNIC systems or the host PF when there is no ECPF.

Rename it to MLX5_SELF to accurately reflect that this counter tracks
pages allocated by the manager for its own use, regardless of whether
it is a PF or ECPF.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260403090028.137783-2-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c
include/linux/mlx5/driver.h