[dpdk-dev] [dpdk-stable] [PATCH] net/failsafe: fix state synchro cleanup
Ferruh Yigit
ferruh.yigit at intel.com
Tue Oct 13 16:49:18 CEST 2020
On 10/12/2020 3:19 PM, Gaetan Rivet wrote:
> During a hotplug attempt, failsafe will try to bring a subdevice that
> just appeared to its internal state. On error, the subdevice is marked
> for removal and will be cleaned up.
>
> However failsafe_dev_remove() only remove active devices. Devices that
> failed during probe will be stuck in DEV_PARSED state repeatedly.
>
> Consider all devices when doing a removal round, but limit burst control
> and stats saving to active devices.
>
> Fixes: 598fb8aec6f6 ("net/failsafe: support device removal")
> Cc: stable at dpdk.org
> Signed-off-by: Gaetan Rivet <grive at u256.net>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list