Hi Qi, 30/10/2018 16:27, Qi Zhang: > When scanning an already plugged device, the virtual address > of mapped PCI resource in rte_pci_device will be overridden > with 0, that may cause driver does not work correctly. > The fix is not to update any rte_pci_device's field if the being > scanned device's driver is already probed. > > Bugzilla ID: 85 > Fixes: c752998b5e2e ("pci: introduce library and driver") > Cc: sta...@dpdk.org > > Reported-by: Lv Geoffrey <geoffrey...@gmail.com> > Signed-off-by: Qi Zhang <qi.z.zh...@intel.com> > --- > drivers/bus/pci/linux/pci.c | 35 ++++++++++++++++++++++++++++++----- > 1 file changed, 30 insertions(+), 5 deletions(-)
When sending a new version, please use --in-reply-to, and add a changelog somewhere. Applied, thanks