[dpdk-dev] [PATCH v2] eal/ppc: fix redefine bool type

David Christensen drc at linux.vnet.ibm.com
Thu Apr 30 21:41:04 CEST 2020



On 4/30/20 7:22 AM, Ori Kam wrote:
> The AltiVec header file breaks boolean type. [1] [2]
> 
> Currently the workaround was located only in mlx5 device.
> Adding the trace module caused this issue to appear again, due to
> order of includes, it keeps overriding the local fix.
> 
> This patch solves this issue by resetting the bool type, immediately
> after it is being changed.
...
> Fixes: 725f5dd0bfb5 ("net/mlx5: fix build on PPC64")
> 
> Signed-off-by: Ori Kam <orika at mellanox.com>
> Signed-off-by: David Christensen <drc at linux.vnet.ibm.com>
> ---
> v2:
>   * Replace alitvec include in all files.
>   * Address ML comments.
> ---
Tested-by: David Christensen <drc at linux.vnet.ibm.com>


More information about the dev mailing list