[dpdk-dev] [PATCH v2] eal: refactor rte_eal_init into sub-functions

Stephen Hemminger stephen at networkplumber.org
Wed Jan 17 22:24:34 CET 2024


On Wed, 17 Jan 2024 11:25:02 -0800
Rahul Gupta <rahulgupt at linux.microsoft.com> wrote:

> +	lcore_id = rte_lcore_id();
> +	lcore_id = rte_get_next_lcore(lcore_id, 0, 1);
> +	/* Gives status of rte_eal_init_async() */
> +	while (rte_eal_init_async_done(lcore_id) == 0)
> +		;

Will this all work if application is run with single lcore?
It would work before this.


More information about the dev mailing list