[PATCH] eal/linux: register mp hotplug callback after memory init

Burakov, Anatoly anatoly.burakov at intel.com
Thu Jun 1 14:26:04 CEST 2023


On 5/31/2023 7:55 AM, Zhihong Wang wrote:
> Secondary would crash if it tries to handle mp requests before memory
> init, since globals such as eth_dev_shared_data_lock are not accessible
> to it at this moment.
> ---

Please correct me if I'm wrong, but if init is not completed, none of 
the IPC stuff is initialized either, and any hotplug requests would not 
trigger any callbacks in the first place?
-- 
Thanks,
Anatoly



More information about the dev mailing list