Re: [dpdk-dev] [PATCH v3] pci/linux: copy new id for inserted device

2020-10-13 Thread Thomas Monjalon
13/10/2020 00:01, Jim Harris: > When a device is inserted into an existing BDF slot > that has not been probed, we must overwrite the old > PCI ID with the ID of the new function. Otherwise > we may not probe the function with the correct driver, > if at all. > > Signed-off-by: Jim Harris > --- >

[dpdk-dev] [PATCH v3] pci/linux: copy new id for inserted device

2020-10-12 Thread Jim Harris
When a device is inserted into an existing BDF slot that has not been probed, we must overwrite the old PCI ID with the ID of the new function. Otherwise we may not probe the function with the correct driver, if at all. Signed-off-by: Jim Harris --- drivers/bus/pci/linux/pci.c | 4 +++- 1 file c