numam-dpdk/drivers/bus
Long Li 7b1a614dcb net/netvsc: fix vmbus device reference in multi-process
The vmbus device is allocated via "calloc" before the EAL memory is
initialized. The secondary process can't reference the vmbus device as
it is not mapped correctly in the shared memory region.

Replace all references to the vmbus device (and its contents) with the
pointers/contents set by the primary process.

Fixes: 4e9c73e96e ("net/netvsc: add Hyper-V network device")
Cc: stable@dpdk.org

Signed-off-by: Long Li <longli@microsoft.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
2022-06-30 14:44:58 +02:00
..
auxiliary build: hide local symbols in shared libraries 2022-03-08 15:22:33 +01:00
dpaa replace zero-length arrays with flexible ones 2022-06-07 16:44:21 +02:00
fslmc bus/fslmc: fix VFIO setup 2022-06-07 20:49:20 +02:00
ifpga remove unnecessary null checks 2022-02-12 12:07:48 +01:00
pci bus/pci: enhance driver pointer documentation 2022-03-07 17:46:10 +01:00
vdev fix spelling in comments and strings 2022-01-11 12:16:53 +01:00
vmbus net/netvsc: fix vmbus device reference in multi-process 2022-06-30 14:44:58 +02:00
meson.build bus/auxiliary: introduce auxiliary bus 2021-07-05 18:11:28 +02:00