[PATCH v3] app/testpmd: fix interactive mode with no ports

Stephen Hemminger stephen at networkplumber.org
Thu Jan 19 18:28:11 CET 2023


On Thu, 19 Jan 2023 19:23:12 +0200
Gregory Etelson <getelson at nvidia.com> wrote:

> +	if (!no_device_start && start_port(RTE_PORT_ALL) != 0) {
> +		fprintf(stderr, "Start ports failed\n");
> +		if (!interactive) {
> +			rte_eal_cleanup();
> +			rte_exit(EXIT_FAILURE, "Start ports failed\n");
> +		}
> +	}

Ok, but you are printing message twice now.


More information about the dev mailing list