[PATCH] vmbus: get current rte_vmbus_bus struct
Abdelfattah Chehab
abdelfattah.chehab-ext at ekinops.com
Thu Apr 14 11:58:26 CEST 2022
The global variable is not accessible from libdpdk.so
I don't really see how the linker can find it in this case.
-----Original Message-----
From: David Marchand <david.marchand at redhat.com>
Sent: 13 April 2022 10:11
To: Abdelfattah Chehab <abdelfattah.chehab-ext at ekinops.com>
Cc: dev at dpdk.org; stable at dpdk.org
Subject: Re: [PATCH] vmbus: get current rte_vmbus_bus struct
On Wed, Apr 13, 2022 at 9:32 AM Abdelfattah Chehab <abdelfattah.chehab-ext at ekinops.com> wrote:
>
> Hi All,
>
> FOREACH_DEVICE_ON_VMBUS needs rte_vmbus_bus to work on
>
> If static link to libdpdk.a : no issues
>
> If dynamic link to *.so: linker issue, global variable not found.
Not sure I really get your usecase, but this probably is a linking issue on your side.
--
David Marchand
More information about the stable
mailing list