> From: Stephen Hemminger [mailto:step...@networkplumber.org]
> Sent: Tuesday, 16 January 2024 23.50
>
> On Tue, 16 Jan 2024 23:14:36 +0100
> Morten Brørup wrote:
>
> > > +1 for #2 just make it a block.
> >
> > I prefer that you implement the workaround in the RTE_BUILD_BUG_ON()
> macro, by surr
On 1/17/24 01:49, Stephen Hemminger wrote:
On Tue, 16 Jan 2024 23:14:36 +0100
Morten Brørup wrote:
+1 for #2 just make it a block.
I prefer that you implement the workaround in the RTE_BUILD_BUG_ON() macro, by
surrounding it by "do { } while (0)", like this:
#define RTE_BUILD_BUG_ON(condit
On Tue, 16 Jan 2024 23:14:36 +0100
Morten Brørup wrote:
> > +1 for #2 just make it a block.
>
> I prefer that you implement the workaround in the RTE_BUILD_BUG_ON() macro,
> by surrounding it by "do { } while (0)", like this:
>
> #define RTE_BUILD_BUG_ON(condition) do { static_assert(!(condi
> From: Morten Brørup [mailto:m...@smartsharesystems.com]
> Sent: Tuesday, 16 January 2024 23.15
>
> > From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com]
> > Sent: Tuesday, 16 January 2024 22.51
> >
> > On Tue, Jan 16, 2024 at 09:03:01AM -0800, Stephen Hemminger wrote:
> > > Ran into a cor
> From: Tyler Retzlaff [mailto:roret...@linux.microsoft.com]
> Sent: Tuesday, 16 January 2024 22.51
>
> On Tue, Jan 16, 2024 at 09:03:01AM -0800, Stephen Hemminger wrote:
> > Ran into a corner case issue, so sending to mailing list for wider
> discussion.
> >
> > One improvement to DPDK code base
On Tue, Jan 16, 2024 at 09:03:01AM -0800, Stephen Hemminger wrote:
> Ran into a corner case issue, so sending to mailing list for wider discussion.
>
> One improvement to DPDK code base planned is getting rid of variable length
> arrays.
> VLA's can cause bugs and are not supported by the Windows
Ran into a corner case issue, so sending to mailing list for wider discussion.
One improvement to DPDK code base planned is getting rid of variable length
arrays.
VLA's can cause bugs and are not supported by the Windows compiler.
Gcc and Clang have a flag to warn on use of VLA's (-Wvla).
In DPD
7 matches
Mail list logo