net/mlx5: use virt2memseg instead of iteration