rte_eth_dev_count_avail returns different value in library
Robert Hable
Robert.Hable at spusu.at
Fri Oct 28 11:45:56 CEST 2022
Hello,
I am trying to build a static library based on the skeleton example. My problem is when calling rte_eth_dev_count_avail() I always receive 0 in the static library. When I start the skeleton example app as a regular exe file, then it returns 2.
What could be the reason that rte_eth_dev_count_avail() returns different values depending on if it is an exe application or a static library?
rte_eal_init() is called in both applications with the default parameters.
Both processes are running under the same administrator user.
I am using Windows Server 2022 with a Mellanox ConnectX-4 on DPDK V 22.11.0-rc0.
Kind regards,
Robert Hable
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20221028/b4192274/attachment-0001.htm>
More information about the users
mailing list