[dpdk-dev] Importing DATA into the application

2020-12-08 Thread Narcisa Ana Maria Vasile
Hi, While using the DPDK libs as DLLs, I've ran into some access violation errors. I believe they are caused by some incorrect imports. In Windows, accessing an imported variable is done either by using __declspec(dllimport), or by using an extra level of indirection[1]. Some examples of variab

Re: [dpdk-dev] Importing DATA into the application

2020-12-08 Thread Dmitry Kozlyuk
On Tue, 08 Dec 2020 08:47:15 +0100, Thomas Monjalon wrote: > 08/12/2020 08:03, Narcisa Ana Maria Vasile: [...] > > However, there are a few issues to consider: > > * We cannot add __declspec(dllimport) when declaring per_lcore__lcore_id > > for example. We cannot have both __thread and __declspec

Re: [dpdk-dev] Importing DATA into the application

2020-12-07 Thread Thomas Monjalon
08/12/2020 08:03, Narcisa Ana Maria Vasile: > Hi, > > While using the DPDK libs as DLLs, I've ran into some access violation > errors. I believe they are caused by some incorrect imports. > In Windows, accessing an imported variable is done either by using > __declspec(dllimport), or by using an