RE: [PATCH 6/6] drivers: use bitops API instead of compiler builtins

2024-10-24 Thread Morten Brørup
> From: David Marchand [mailto:david.march...@redhat.com] > Sent: Thursday, 24 October 2024 14.06 > > Stop using directly __builtin_ bit operations, > prefer existing DPDK wrappers. > > Note: this is a brute sed all over drivers (skipping base drivers) > for __builtin_* that have a direct replace

[PATCH 6/6] drivers: use bitops API instead of compiler builtins

2024-10-24 Thread David Marchand
Stop using directly __builtin_ bit operations, prefer existing DPDK wrappers. Note: this is a brute sed all over drivers (skipping base drivers) for __builtin_* that have a direct replacement in EAL bitops. There is more work to do, like adding some missing macros inspired from kernel (FIELD_*) ma