Re: [dpdk-dev] [PATCH v2] net/failsafe: fix FreeBSD build

2018-02-13 Thread Thomas Monjalon
> > > The type pthread_t is not portable because it is freely defined. > > > On Linux, it is an unsigned long int which can be printed with %l. > > > On FreeBSD, it is a pointer which can be printed with %p. > > > > > > That's why there was this error: > > > drivers/net/failsafe/failsafe_private.h:

Re: [dpdk-dev] [PATCH v2] net/failsafe: fix FreeBSD build

2018-02-13 Thread Matan Azrad
> -Original Message- > From: De Lara Guarch, Pablo [mailto:pablo.de.lara.gua...@intel.com] > Sent: Wednesday, February 14, 2018 12:19 AM > To: Thomas Monjalon ; Matan Azrad > > Cc: dev@dpdk.org; gaetan.ri...@6wind.com > Subject: RE: [dpdk-dev] [PATCH v2] net/failsa

Re: [dpdk-dev] [PATCH v2] net/failsafe: fix FreeBSD build

2018-02-13 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tuesday, February 13, 2018 10:13 PM > To: ma...@mellanox.com > Cc: dev@dpdk.org; gaetan.ri...@6wind.com > Subject: [dpdk-dev] [PATCH v2] net/failsafe: fix FreeBSD b

[dpdk-dev] [PATCH v2] net/failsafe: fix FreeBSD build

2018-02-13 Thread Thomas Monjalon
The type pthread_t is not portable because it is freely defined. On Linux, it is an unsigned long int which can be printed with %l. On FreeBSD, it is a pointer which can be printed with %p. That's why there was this error: drivers/net/failsafe/failsafe_private.h:377:53: error: format speci