Re: [PATCH 09/10] test: add workaround for __builtin_constant_p in test_memcpy_perf

2025-02-11 Thread Andre Muezerie
On Tue, Feb 11, 2025 at 02:13:05PM -0800, Stephen Hemminger wrote: > On Tue, 11 Feb 2025 14:02:05 -0800 > Andre Muezerie wrote: > > > There's no MSVC equivalent for compiler extension __builtin_constant_p, > > so a workaround is needed. > > > > Signed-off-by: Andre Muezerie > > Prefer that __r

Re: [PATCH 09/10] test: add workaround for __builtin_constant_p in test_memcpy_perf

2025-02-11 Thread Stephen Hemminger
On Tue, 11 Feb 2025 14:02:05 -0800 Andre Muezerie wrote: > There's no MSVC equivalent for compiler extension __builtin_constant_p, > so a workaround is needed. > > Signed-off-by: Andre Muezerie Prefer that __rte_constant worked on all platforms, but template code is hard to maintain.