]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mlx5: Rename the vport number enums for host PF and VF
authorMoshe Shemesh <moshe@nvidia.com>
Tue, 28 Apr 2026 05:38:48 +0000 (08:38 +0300)
committerLeon Romanovsky <leon@kernel.org>
Wed, 29 Apr 2026 20:28:30 +0000 (16:28 -0400)
commit5ffd937ea4050e995bd1fabc54a2534bb7bfa0d9
tree269be67be727aa3dbf1da847cba8deb44a7e35f7
parent254f49634ee16a731174d2ae34bc50bd5f45e731
mlx5: Rename the vport number enums for host PF and VF

Rename the vport number enums MLX5_VPORT_PF to MLX5_VPORT_HOST_PF and
MLX5_VPORT_FIRST_VF to MLX5_VPORT_FIRST_HOST_VF to indicate that these
vport indices represent the host PF and its VFs. This prepares the code
for upcoming support of an additional PF type.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260428053851.220089-2-tariqt@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/counters.c
drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c
drivers/net/ethernet/mellanox/mlx5/core/esw/ipsec.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
drivers/net/ethernet/mellanox/mlx5/core/steering/hws/vport.c
include/linux/mlx5/eswitch.h
include/linux/mlx5/vport.h