Re: [dpdk-dev] [PATCH] pci: propagate exact error codes in pci_probe_all_drivers()

2018-10-28 Thread Thomas Monjalon
26/10/2018 09:54, Darek Stojaczyk: > In a couple of places we check its error code against -EEXIST, > but this function returned either -1, 0, or 1. > > This gets critical when hotplugging a device in secondary > process, while the same device is already plugged in the > primary. Failing to "hotpl

[dpdk-dev] [PATCH] pci: propagate exact error codes in pci_probe_all_drivers()

2018-10-26 Thread Darek Stojaczyk
In a couple of places we check its error code against -EEXIST, but this function returned either -1, 0, or 1. This gets critical when hotplugging a device in secondary process, while the same device is already plugged in the primary. Failing to "hotplug" it in the primary will cause the secondary