Re: [PATCH v6 02/23] mbuf: consolidate driver asserts for mbuf struct

2024-03-14 Thread Tyler Retzlaff
We've gone around in circles a little on this series. Let's discuss it at the next techboard meeting, please put it on the agenda. Summary MSVC does not support the typedef of zero-sized typed arrays used in struct rte_mbuf and a handful of other structs built on Windows. Better known as ``RTE_M

RE: [PATCH v6 02/23] mbuf: consolidate driver asserts for mbuf struct

2024-02-27 Thread Konstantin Ananyev
> Subject: [PATCH v6 02/23] mbuf: consolidate driver asserts for mbuf struct > > Collect duplicated RTE_BUILD_BUG_ON checks from drivers and place them > at global scope with struct rte_mbuf definition using static_assert. > > Signed-off-by: Tyler Retzlaff > --- >

[PATCH v6 02/23] mbuf: consolidate driver asserts for mbuf struct

2024-02-26 Thread Tyler Retzlaff
Collect duplicated RTE_BUILD_BUG_ON checks from drivers and place them at global scope with struct rte_mbuf definition using static_assert. Signed-off-by: Tyler Retzlaff --- lib/mbuf/rte_mbuf_core.h | 34 ++ 1 file changed, 34 insertions(+) diff --git a/lib/mbuf/