[PATCH 6/6] drivers: use bitops API instead of compiler builtins
Morten Brørup
mb at smartsharesystems.com
Thu Oct 24 14:25:30 CEST 2024
> From: David Marchand [mailto:david.marchand at 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 replacement in EAL bitops.
There could be differences between 32 and 64 bit architectures.
Simple search-replace might not cut it.
Didn't review in detail, just speculating.
> There is more work to do, like adding some missing macros inspired from
> kernel (FIELD_*) macros but this is left for later.
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
More information about the dev
mailing list