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

2020-10-13 Thread Thomas Monjalon
13/10/2020 19:03, 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 Applie

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

2020-10-13 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