numam-dpdk/drivers/bus/pci
Qi Zhang 55e411b301 bus/pci: fix resource mapping override
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: c752998b5e ("pci: introduce library and driver")
Cc: stable@dpdk.org

Reported-by: Geoffrey Lv <geoffrey.lv@gmail.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
2018-10-31 19:43:34 +01:00
..
bsd bus/pci: harmonize return value of config read 2018-10-29 00:32:14 +01:00
linux bus/pci: fix resource mapping override 2018-10-31 19:43:34 +01:00
Makefile eal: add bus pointer in device structure 2018-10-11 14:09:24 +02:00
meson.build mk: build with _GNU_SOURCE defined by default 2018-10-22 11:28:27 +02:00
pci_common_uio.c bus/pci: support hot-unplug handler 2018-10-15 22:16:48 +02:00
pci_common.c bus/pci: propagate probing error codes 2018-10-29 01:59:48 +01:00
pci_params.c devargs: rename enum items with singular form 2018-10-11 13:57:29 +02:00
private.h bus/pci: support hot-unplug handler 2018-10-15 22:16:48 +02:00
rte_bus_pci_version.map bus/pci: fix namespace of sysfs path function 2017-11-07 00:44:10 +01:00
rte_bus_pci.h bus/pci: harmonize return value of config read 2018-10-29 00:32:14 +01:00