[dpdk-dev] [PATCH] pci: Don't call probe callback if driver already loaded.

David Marchand david.marchand at 6wind.com
Thu Oct 27 15:30:39 CEST 2016


On Thu, Oct 27, 2016 at 3:28 PM, David Marchand
<david.marchand at 6wind.com> wrote:
> On Tue, Oct 25, 2016 at 11:50 PM, Ben Walker <benjamin.walker at intel.com> wrote:
>> If the user asks to probe multiple times, the probe
>> callback should only be called on devices that don't have
>> a driver already loaded.
>>
>> This is useful if a driver is registered after the
>> execution of a program has started and the list of devices
>> needs to be re-scanned.
>
> Why not use the hotplug api, attaching explicitely one pci device ?

Ah, scratch that.
I've been too quick to reply.
Ok, you are loading a new driver.


-- 
David Marchand


More information about the dev mailing list