Re: [dpdk-dev] [PATCH] ethdev: fix compilation issue with strict flags

2017-04-19 Thread Thomas Monjalon
Thursday, April 13, 2017 6:29 AM > > > To: thomas.monja...@6wind.com > > > Cc: adrien.mazarg...@6wind.com; nelio.laranje...@6wind.com; > > > dev@dpdk.org > > > Subject: [dpdk-dev] [PATCH] ethdev: fix compilation issue with strict > > > flags > &

Re: [dpdk-dev] [PATCH] ethdev: fix compilation issue with strict flags

2017-04-18 Thread Shahaf Shuler
monja...@6wind.com > > Cc: adrien.mazarg...@6wind.com; nelio.laranje...@6wind.com; > > dev@dpdk.org > > Subject: [dpdk-dev] [PATCH] ethdev: fix compilation issue with strict > > flags > > > > Compilation error seen while compiling mlx5 in debug mode under RHEL > >

Re: [dpdk-dev] [PATCH] ethdev: fix compilation issue with strict flags

2017-04-13 Thread Van Haaren, Harry
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Shahaf Shuler > Sent: Thursday, April 13, 2017 6:29 AM > To: thomas.monja...@6wind.com > Cc: adrien.mazarg...@6wind.com; nelio.laranje...@6wind.com; dev@dpdk.org > Subject: [dpdk-dev] [PATCH] ethdev: fix compilation issue wi

Re: [dpdk-dev] [PATCH] ethdev: fix compilation issue with strict flags

2017-04-13 Thread Gaƫtan Rivet
Yes, with the __rte_cache_aligned, the :8 should be useless anyway. On Thu, Apr 13, 2017 at 08:29:27AM +0300, Shahaf Shuler wrote: Compilation error seen while compiling mlx5 in debug mode under RHEL 7.3: rte_ethdev.h:1670:7: error: type of bit-field 'state' is a GCC extension [-Werror=pedan

[dpdk-dev] [PATCH] ethdev: fix compilation issue with strict flags

2017-04-12 Thread Shahaf Shuler
Compilation error seen while compiling mlx5 in debug mode under RHEL 7.3: rte_ethdev.h:1670:7: error: type of bit-field 'state' is a GCC extension [-Werror=pedantic] Address it by removing the unnecessary bit-field width limitation. Fixes: d52268a8b24b ("ethdev: expose device states") Signe