Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Patrisious Haddad and committed by
Leon Romanovsky
26469110 c0368933

+5 -2
+5 -2
include/linux/mlx5/mlx5_ifc.h
··· 1968 1968 1969 1969 u8 reserved_at_360[0x3]; 1970 1970 u8 log_max_rq[0x5]; 1971 - u8 reserved_at_368[0x3]; 1971 + u8 ft_alias_sw_vhca_id[0x1]; 1972 + u8 reserved_at_369[0x2]; 1972 1973 u8 log_max_sq[0x5]; 1973 1974 u8 reserved_at_370[0x3]; 1974 1975 u8 log_max_tir[0x5]; ··· 6958 6957 6959 6958 struct mlx5_ifc_alias_context_bits { 6960 6959 u8 vhca_id_to_be_accessed[0x10]; 6961 - u8 reserved_at_10[0xd]; 6960 + u8 reserved_at_10[0xb]; 6961 + u8 vhca_id_type[0x1]; 6962 + u8 reserved_at_1c[0x1]; 6962 6963 u8 status[0x3]; 6963 6964 u8 object_id_to_be_accessed[0x20]; 6964 6965 u8 reserved_at_40[0x40];