net/mlx5: fix unlimited parsing of switch info