numam-dpdk/drivers/bus
Long Li 70cdd92e04 bus/vmbus: fix ring buffer mapping in secondary process
The driver code had wrong assumption that all the addresses to ring buffers
in the secondary process are the same as those in the primary process. This
is not always correct as the channels could be mapped to different
addresses in the secondary process.

Fix this by keeping track of all the mapped addresses from the primary
process in the shared uio_res, and have second process map to the same
addresses.

Fixes: 831dba47bd ("bus/vmbus: add Hyper-V virtual bus support")
Cc: stable@dpdk.org

Reported-by: Jonathan Erb <jonathan.erb@banduracyber.com>
Signed-off-by: Long Li <longli@microsoft.com>
Acked-by: Stephen Hemminger <sthemmin@microsoft.com>
2021-10-13 13:55:09 +02:00
..
auxiliary eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
dpaa eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
fslmc bus/fslmc: add qbman debug 2021-10-07 11:42:21 +02:00
ifpga eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
pci eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
vdev eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
vmbus bus/vmbus: fix ring buffer mapping in secondary process 2021-10-13 13:55:09 +02:00
meson.build bus/auxiliary: introduce auxiliary bus 2021-07-05 18:11:28 +02:00