[dpdk-dev] [dpdk-stable] [PATCH] dev: fix dev_attach proceeding with vdev on success

Thomas Monjalon thomas at monjalon.net
Mon Jul 31 09:46:39 CEST 2017


26/07/2017 13:52, Gaetan Rivet:
> When rte_eal_hotplug_add() successfully probe a device, the return value
> is zero. The check afterward only returns on error different from
> -EINVAL. It should return also on success, as there is no need to
> attempt probing the device with vdev.
> 
> Fixes: 0bba9e605048 ("eal: use new hotplug API in attach")
> Cc: stable at dpdk.org
> Cc: Jan Blunck <jblunck at infradead.org>
> 
> Signed-off-by: Gaetan Rivet <gaetan.rivet at 6wind.com>

Applied, thanks



More information about the dev mailing list