RDMA/mlx5: Refactor VAR table to use region abstraction

Extract mlx5_var_region struct from mlx5_var_table to enable
supporting multiple VAR regions in VAR table, which will be used in
the upcoming patches (Virtio emulation VAR and TLP emulation VAR).

Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
This commit is contained in:
Maher Sanalla 2026-02-25 16:19:33 +02:00 • committed by Leon Romanovsky
commit ea6641828d
2 changed files with 38 additions and 30 deletions