RE: [PATCH] net/mlx5: fix build failure on Windows

2023-02-18 Thread Slava Ovsiienko
> -Original Message- > From: Maxime Coquelin > Sent: Friday, February 17, 2023 4:37 PM > To: dev@dpdk.org; Slava Ovsiienko ; NBU-Contact- > Thomas Monjalon (EXTERNAL) > Cc: Maxime Coquelin > Subject: [PATCH] net/mlx5: fix build failure on Windows > > __alw

Re: [PATCH] net/mlx5: fix build failure on Windows

2023-02-17 Thread Thomas Monjalon
17/02/2023 15:37, Maxime Coquelin: > __always_inline is not supported on Windows, let's use > __rte_always_inline instead. > > ..\drivers\net\mlx5/mlx5_hws_cnt.h:162:8: error: unknown type name > '__always_inline' > > static __always_inline struct mlx5_hws_cnt_pool * > >^ > > ..\driver

[PATCH] net/mlx5: fix build failure on Windows

2023-02-17 Thread Maxime Coquelin
__always_inline is not supported on Windows, let's use __rte_always_inline instead. ..\drivers\net\mlx5/mlx5_hws_cnt.h:162:8: error: unknown type name '__always_inline' static __always_inline struct mlx5_hws_cnt_pool * ^ ..\drivers\net\mlx5/mlx5_hws_cnt.h:165:9: error: incompatible poin