Re: [dpdk-dev] [PATCH] eal/windows: add sys/queue.h.

2021-08-11 Thread William Tu
On Wed, Aug 11, 2021 at 1:34 AM Nick Connolly wrote: > > > > What we can do: > > > > 1. Introduce `rte_queue.h` (name can be better) that is env-specific: > > > > 1.1. For Linux and FreeBSD it just includes > > and renames a few macros that are used in headers to RTE_xxx. > > 1.2

Re: [dpdk-dev] [PATCH] eal/windows: add sys/queue.h.

2021-08-11 Thread Nick Connolly
What we can do: 1. Introduce `rte_queue.h` (name can be better) that is env-specific: 1.1. For Linux and FreeBSD it just includes and renames a few macros that are used in headers to RTE_xxx. 1.2. For Windows it defines the same RTE_xxx macros in a way compatible wi

Re: [dpdk-dev] [PATCH] eal/windows: add sys/queue.h.

2021-08-10 Thread Dmitry Kozlyuk
2021-08-10 22:05 (UTC+0100), Nick Connolly: > > diff --git a/lib/eal/windows/include/meson.build > > b/lib/eal/windows/include/meson.build > > index b3534b025f..875cc1cf0d 100644 > > --- a/lib/eal/windows/include/meson.build > > +++ b/lib/eal/windows/include/meson.build > > @@ -8,3 +8,7 @@ headers

Re: [dpdk-dev] [PATCH] eal/windows: add sys/queue.h.

2021-08-10 Thread Nick Connolly
diff --git a/lib/eal/windows/include/meson.build b/lib/eal/windows/include/meson.build index b3534b025f..875cc1cf0d 100644 --- a/lib/eal/windows/include/meson.build +++ b/lib/eal/windows/include/meson.build @@ -8,3 +8,7 @@ headers += files( 'rte_virt2phys.h', 'rte_windows.h',

[dpdk-dev] [PATCH] eal/windows: add sys/queue.h.

2021-08-05 Thread William Tu
When compiling OVS, lib/dpdk.c, found the missing header. In file included from ../lib/dpdk.c:27: C:\temp\dpdk\include\rte_log.h:24:10: fatal error: 'sys/queue.h' file not found ^ 1 warning and 1 error generated. Signed-off-by: William Tu --- lib/eal/windows/include/meson.build |