Re: [PATCH mlx5-next 2/2] net/mlx5: Add vhca_id_type bit to alias context

From: Joe Damato

Date: Fri Mar 20 2026 - 19:07:49 EST


On Thu, Mar 19, 2026 at 02:22:11PM +0200, Tariq Toukan wrote:
> From: Patrisious Haddad <phaddad@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>
> Signed-off-by: Tariq Toukan <tariqt@xxxxxxxxxx>
> ---
> include/linux/mlx5/mlx5_ifc.h | 7 +++++--
> 1 file changed, 5 insertions(+), 2 deletions(-)

Reviewed-by: Joe Damato <joe@xxxxxxx>