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

2024-01-17 Thread Stephen Hemminger
On Wed, 17 Jan 2024 11:25:02 -0800 Rahul Gupta 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 applic

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

2024-01-17 Thread Rahul Gupta
From: Rahul Gupta In continuation to the following email, I am sending this patch. (https://inbox.dpdk.org/dev/20231110172523.ga17...@microsoft.com/) Initialization requires rte_eal_init + rte_pktmbuf_pool_create which can consume a total time of 500-600 ms: a) For many devices FLR may take a si