numam-dpdk/drivers/bus
Michal Krawczyk 6b92f18468 bus/pci: assign driver pointer before mapping
Patch changing the way of accessing interrupt handle also changed order
of the rte_pci_map_device() call and rte_pci_device:driver assignment.
It was causing issues with Write Combine mapping on the Linux platform
if it was used with the igb_uio module.

Linux implementation of pci_uio_map_resource_by_index(), which is called
by rte_pci_map_device(), needs access to the device's driver. Otherwise
it won't be able to check the driver's flags and won't respect them.

Fixes: d61138d4f0 ("drivers: remove direct access to interrupt handle")
Cc: stable@dpdk.org

Signed-off-by: Michal Krawczyk <mk@semihalf.com>
2022-02-27 20:15:15 +01:00
..
auxiliary bus: fix device iterator match from arguments 2021-11-24 15:11:42 +01:00
dpaa crypto/dpaa_sec: add debug prints 2022-02-12 12:19:14 +01:00
fslmc remove unnecessary null checks 2022-02-12 12:07:48 +01:00
ifpga remove unnecessary null checks 2022-02-12 12:07:48 +01:00
pci bus/pci: assign driver pointer before mapping 2022-02-27 20:15:15 +01:00
vdev fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
vmbus fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
meson.build bus/auxiliary: introduce auxiliary bus 2021-07-05 18:11:28 +02:00