[PATCH 2/8] net/ring: build on Windows

Stephen Hemminger stephen at networkplumber.org
Thu Dec 15 04:22:15 CET 2022


On Wed, 14 Dec 2022 15:18:08 -0800
"Kadam, Pallavi" <pallavi.kadam at intel.com> wrote:

> Hi Stephen,
> 
> Thanks for enabling this support.
> 
> On 11/30/2022 5:44 PM, Stephen Hemminger wrote:
> > This driver builds ok on windows, but need to modify the
> > test meson build to skip the eventdev test on Windows.
> >
> > Signed-off-by: Stephen Hemminger<stephen at networkplumber.org>
> > ---  
> 
> There is still a build error with clang compiler on Windows
> as mentioned by Dmitry:
> 
> ../drivers/net/ring/rte_eth_ring.c:542:12: error: use of undeclared identifier 'PATH_MAX'
>          char name[PATH_MAX];
>                    ^
> #include <rte_os_shim.h> is missing
> 
> >     

It is in the mingw version but not other compilers.


More information about the dev mailing list