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

Raslan Darawsheh rasland at mellanox.com
Sun May 3 08:34:02 CEST 2020


Hi,

> -----Original Message-----
> From: David Christensen <drc at linux.vnet.ibm.com>
> Sent: Thursday, April 30, 2020 10:41 PM
> To: Ori Kam <orika at mellanox.com>; Thomas Monjalon
> <thomas at monjalon.net>; Matan Azrad <matan at mellanox.com>; Shahaf
> Shuler <shahafs at mellanox.com>; Slava Ovsiienko
> <viacheslavo at mellanox.com>; Beilei Xing <beilei.xing at intel.com>; Qi Zhang
> <qi.z.zhang at intel.com>; Maxime Coquelin
> <maxime.coquelin at redhat.com>; Zhihong Wang
> <zhihong.wang at intel.com>; Xiaolong Ye <xiaolong.ye at intel.com>
> Cc: Raslan Darawsheh <rasland at mellanox.com>;
> david.marchand at redhat.com; dev at dpdk.org; ferruh.yigit at intel.com
> Subject: Re: [PATCH v2] eal/ppc: fix redefine bool type
> 
> 
> 
> 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>
Tested-by: Raslan Darawsheh <rasland at mellanox.com>

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list