numam-dpdk/drivers/net/bnx2x
Rasesh Mody a3d1111a77 net/bnx2x: fix meson build
Use kernel headers for __le* types to avoid potential conflicts
resulting in redefinition errors for some Linux build environments.
Add check for FreeBSD execution environments.

Without this fix, aarch64 builds can fail with error below:

In file included from ../drivers/net/bnx2x/bnx2x.h:22,
                 from ../drivers/net/bnx2x/bnx2x_ethdev.c:8:
../drivers/net/bnx2x/bnx2x_osal.h:27:17: error:
conflicting types for ‘uint64_t’
 #define __le64  uint64_t
               ^~~~~~~~
In file included from /usr/include/stdint.h:37,
                 from /usr/lib/gcc/aarch64-linux-gnu/8/include/stdint.h:9,
                 from ../lib/librte_eal/common/include/arch/arm/rte_byteorder.h:16,
                 from ../drivers/net/bnx2x/bnx2x.h:17,
                 from ../drivers/net/bnx2x/bnx2x_ethdev.c:8:
/usr/include/aarch64-linux-gnu/bits/stdint-uintn.h:27:20: note:
previous declaration of ‘uint64_t’ was here
 typedef __uint64_t uint64_t;
                    ^~~~~~~~

There is also one minor change mixed in this commit:
Some use of __FreeBSD__ are replaced by RTE_EXEC_ENV_FREEBSD.

Fixes: 38dff79ba7 ("net/bnx2x: update HSI")

Signed-off-by: Rasesh Mody <rmody@marvell.com>
Tested-by: Dharmik Thakkar <dharmik.thakkar@arm.com>
Tested-by: Gavin Hu <gavin.hu@arm.com>
2019-11-06 11:55:24 +01:00
..
bnx2x_ethdev.c ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
bnx2x_ethdev.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00
bnx2x_logs.h net/bnx2x: fix dynamic logging 2018-11-14 00:35:53 +01:00
bnx2x_osal.h net/bnx2x: fix meson build 2019-11-06 11:55:24 +01:00
bnx2x_rxtx.c net/bnx2x: update HSI 2019-10-08 12:14:31 +02:00
bnx2x_rxtx.h net/bnx2x: fix DMAE timeout 2019-04-19 14:51:54 +02:00
bnx2x_stats.c net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
bnx2x_stats.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
bnx2x_vfpf.c net/bnx2x: fix reading VF id 2019-07-23 14:31:34 +02:00
bnx2x_vfpf.h net/bnx2x: fix reading VF id 2019-07-23 14:31:34 +02:00
bnx2x.c net/bnx2x: fix meson build 2019-11-06 11:55:24 +01:00
bnx2x.h net/bnx2x: fix meson build 2019-11-06 11:55:24 +01:00
ecore_fw_defs.h net/bnx2x: update to latest FW 7.13.11 2019-10-08 12:14:31 +02:00
ecore_hsi.h net/bnx2x: update to latest FW 7.13.11 2019-10-08 12:14:31 +02:00
ecore_init_ops.h net/bnx2x: update to latest FW 7.13.11 2019-10-08 12:14:31 +02:00
ecore_init.h net/bnx2x: update to latest FW 7.13.11 2019-10-08 12:14:31 +02:00
ecore_mfw_req.h net/bnx2x: update to latest FW 7.13.11 2019-10-08 12:14:31 +02:00
ecore_reg.h net/bnx2x: update and reorganize HW registers 2019-10-08 12:14:31 +02:00
ecore_sp.c net/bnx2x: update to latest FW 7.13.11 2019-10-08 12:14:31 +02:00
ecore_sp.h net/bnx2x: update to latest FW 7.13.11 2019-10-08 12:14:31 +02:00
elink.c net/bnx2x: fix icc build 2019-06-26 09:14:24 +02:00
elink.h drivers/net: fix shifting 32-bit signed variable 31 times 2019-03-01 18:17:36 +01:00
Makefile drivers/net: use ack in interrupt handlers 2019-07-23 12:00:23 +02:00
meson.build drivers/net: use ack in interrupt handlers 2019-07-23 12:00:23 +02:00
rte_pmd_bnx2x_version.map bnx2x: driver support routines 2015-07-27 04:27:10 +02:00