[PATCH v2 2/5] eal: fix multiprocess hotplug race

Burakov, Anatoly anatoly.burakov at intel.com
Wed Mar 13 17:05:45 CET 2024


On 3/7/2024 8:01 AM, Artemy Kovalyov wrote:
> There exists a time gap between the creation of the multiprocess channel
> and the registration of request action handlers. Within this window, a
> secondary process that receives an eal_dev_mp_request broadcast
> notification might respond with ENOTSUP. This, in turn, causes the
> rte_dev_probe() operation to fail in another secondary process.
> To avoid this, disregarding ENOTSUP responses to attach notifications.
> 
> Fixes: 244d5130719c ("eal: enable hotplug on multi-process")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Artemy Kovalyov <artemyko at nvidia.com>
> ---
Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly



More information about the stable mailing list