]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net/mlx5: Add vhca_id_type bit to alias context
authorPatrisious Haddad <phaddad@nvidia.com>
Thu, 19 Mar 2026 12:22:11 +0000 (14:22 +0200)
committerLeon Romanovsky <leon@kernel.org>
Sun, 22 Mar 2026 18:40:36 +0000 (14:40 -0400)
commit26469110c750c8179560637dd813e5d65b8148d2
tree47788ceb8be6053360f1833e83f9822d1e32be86
parentc0368933dd3d4a8210a07a0c95c471421fbf7523
net/mlx5: Add vhca_id_type bit to alias context

Add vhca_id_type bit to alias context which allows indicating the
vhca_id_type to be passed at vhca_id_to_be_accessed, which can be either
HW or SW, note that SW_VHCA_ID must be used to allow alias to work
properly after migration.

Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260319122211.27384-3-tariqt@nvidia.com
Reviewed-by: Joe Damato <joe@dama.to>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
include/linux/mlx5/mlx5_ifc.h