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

Stephen Hemminger stephen at networkplumber.org
Wed Jan 24 16:47:21 CET 2024


On Wed, 24 Jan 2024 05:45:11 -0800
Rahul Gupta <rahulgupt at linux.microsoft.com> wrote:

> +
> +/*
> + * waits until function executing on given lcore finishes.
> + * returns value returned by the function executing on that lcore.
> + */
> +__rte_experimental int
> +rte_eal_init_wait_async_setup_complete(void)
> +{
> +	int lcore_id = -1;
> +	lcore_id = rte_lcore_id();

Useless initialization.


More information about the dev mailing list