Re: [PATCH] net/netvsc: replace the pointers to vmbus device from secondary process

2022-06-30 Thread Ferruh Yigit
On 6/30/2022 12:52 AM, Stephen Hemminger wrote: On Wed, 29 Jun 2022 16:29:44 -0700 lon...@linuxonhyperv.com wrote: From: Long Li 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 correctl

Re: [PATCH] net/netvsc: replace the pointers to vmbus device from secondary process

2022-06-29 Thread Stephen Hemminger
On Wed, 29 Jun 2022 16:29:44 -0700 lon...@linuxonhyperv.com wrote: > From: Long Li > > 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. > > Repla

[PATCH] net/netvsc: replace the pointers to vmbus device from secondary process

2022-06-29 Thread longli
From: Long Li 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/content