[PATCH 2/2] mempool: use rte constant macro instead of GCC builtin

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Wed May 29 13:42:53 CEST 2024


On 3/26/24 12:57, Morten Brørup wrote:
>> From: Tyler Retzlaff [mailto:roretzla at linux.microsoft.com]
>> Sent: Wednesday, 20 March 2024 22.34
>>
>> Use newly introduced __rte_constant(e) macro instead of directly using
>> __builtin_constant_p() allowing mempool to be built by MSVC.
>>
>> Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
>> ---
> 
> Reviewed-by: Morten Brørup <mb at smartsharesystems.com>
> 

Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>


More information about the dev mailing list