numam-dpdk/drivers
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
..
baseband baseband/acc100: fix 4GUL outbound size 2021-10-08 21:31:07 +02:00
bus bus/vmbus: fix ring buffer mapping in secondary process 2021-10-13 13:55:09 +02:00
common common/cnxk: support 98XX CPT dual block 2021-10-08 21:31:07 +02:00
compress compress/mlx5: refactor HW queue object 2021-10-05 18:15:40 +02:00
crypto crypto/cnxk: support inner checksum 2021-10-08 21:40:16 +02:00
event net/cnxk: support Tx security offload on cn10k 2021-10-02 15:45:19 +02:00
mempool mempool/stack: build on Windows 2021-10-01 16:46:05 +02:00
net net/sfc: relax SW packets/bytes atomic ops memory ordering 2021-10-07 16:57:42 +02:00
raw raw/dpaa2_qdma: remove datapath checks for lcore ID 2021-10-07 14:47:35 +02:00
regex regex/mlx5: refactor HW queue objects 2021-10-05 18:15:40 +02:00
vdpa common/mlx5: share DevX queue pair operations 2021-10-05 18:15:40 +02:00
meson.build build: fix essential drivers in disable list 2021-09-15 11:00:15 +02:00