[dpdk-dev] [EXT] Re: [PATCH 2/2] eal: fix side effects in ptr align macros

Pavan Nikhilesh Bhagavatula pbhagavatula at marvell.com
Mon May 10 11:50:04 CEST 2021


>On Sun, 9 May 2021 22:48:02 +0530
><pbhagavatula at marvell.com> wrote:
>
>> From: Pavan Nikhilesh <pbhagavatula at marvell.com>
>>
>> Avoid expanding parameters inside RTE_*_ALIGN macros.
>> Update common_autotest to detect macro side effects.
>> Workaround static arrays relying on RTE_ALIGN macros.
>>
>> Fixes: af75078fece3 ("first public release")
>> Cc: stable at dpdk.org
>>
>> Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
>> Signed-off-by: David Marchand <david.marchand at redhat.com>
>
>Why not split these up? It looks like the Intel driver and common part
>could be separate?

The common changes break intel/mlx5 driver compilation can't separate them.


More information about the dev mailing list