common/mlx5: glue VAR allocation