numam-dpdk/drivers/net
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
..
af_packet net/af_packet: improve Tx statistics accuracy 2019-10-23 16:43:10 +02:00
af_xdp net/af_xdp: support unaligned umem chunks 2019-10-23 16:43:10 +02:00
ark ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
atlantic net/atlantic: add FW mailbox guard mutex 2019-10-08 12:14:31 +02:00
avp ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
axgbe net/axgbe: fix double unlock 2019-10-23 16:43:10 +02:00
bnx2x net/bnx2x: fix meson build 2019-11-06 11:55:24 +01:00
bnxt net/bnxt: uninit locks during resource cleanup 2019-10-25 19:23:23 +02:00
bonding rename private header files 2019-10-27 22:03:06 +01:00
cxgbe net/cxgbe: fix races on flow API operations 2019-10-08 12:14:32 +02:00
dpaa bus/dpaa: move QBMAN global init to bus 2019-11-06 01:14:41 +01:00
dpaa2 net/dpaa2: add retry and timeout in packet enqueue API 2019-11-06 01:14:00 +01:00
e1000 net/e1000: fix zeroing of RSS config 2019-10-25 19:20:47 +02:00
ena net/ena: change license clause to SPDX tags 2019-10-07 15:00:56 +02:00
enetc net/enetc: enable dpaax library 2019-10-23 16:43:10 +02:00
enic net: add new header file for VXLAN 2019-10-25 19:00:22 +02:00
failsafe rename private header files 2019-10-27 22:03:06 +01:00
fm10k drivers: remove duplicated compiler flags 2019-10-24 01:04:14 +02:00
hinic net/hinic: support getting Rx/Tx queues info 2019-10-23 16:43:08 +02:00
hns3 net/hns3: fix FLR reset 2019-10-25 19:23:23 +02:00
i40e net/i40e: fix exception with multi-driver 2019-10-25 19:20:47 +02:00
iavf net/iavf: enable AVX2 for iavf 2019-10-23 16:43:10 +02:00
ice net/ice: fix IPv6 UDP port matching 2019-10-25 19:20:24 +02:00
ifc net/ifc: add devargs pointer check 2019-07-23 14:31:35 +02:00
ipn3ke net/ipn3ke: setup MTU during HW init 2019-10-07 15:00:56 +02:00
ixgbe net/ixgbe: fix zeroing of RSS config 2019-10-25 19:20:47 +02:00
kni drivers/net: enable promiscuous and multicast by default 2019-10-23 16:43:10 +02:00
liquidio ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
memif net/memif: support multiple Tx 2019-10-25 19:00:22 +02:00
mlx4 net/mlx: fix debug build with icc 2019-10-25 19:23:22 +02:00
mlx5 net/mlx: fix debug build with icc 2019-10-25 19:23:22 +02:00
mvneta ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
mvpp2 ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
netvsc ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
nfb net/nfb: fix dependency check 2019-10-08 12:14:31 +02:00
nfp ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
null drivers/net: enable promiscuous and multicast by default 2019-10-23 16:43:10 +02:00
octeontx ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
octeontx2 net/octeontx2: support multicast filter 2019-10-23 16:43:10 +02:00
pcap port: fix pcap support with meson 2019-10-27 17:23:02 +01:00
pfe net/pfe: add link status update 2019-10-23 16:43:08 +02:00
qede net/qede: print adapter info during init failure 2019-10-23 16:43:09 +02:00
ring drivers/net: enable promiscuous and multicast by default 2019-10-23 16:43:10 +02:00
sfc drivers: remove duplicated compiler flags 2019-10-24 01:04:14 +02:00
softnic net/softnic: add subport config flexibility to TM 2019-10-25 17:53:00 +02:00
szedata2 net/szedata2: fix dependency check 2019-10-08 12:14:31 +02:00
tap net/tap: fix blocked Rx packets 2019-10-23 16:43:08 +02:00
thunderx ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
vdev_netvsc drivers: remove duplicated compiler flags 2019-10-24 01:04:14 +02:00
vhost net/vhost: support TSO disabling 2019-10-07 15:00:57 +02:00
virtio net/virtio: fix Tx checksum offloads 2019-10-25 19:23:23 +02:00
vmxnet3 ethdev: change allmulticast callbacks to return status 2019-10-07 15:00:55 +02:00
Makefile net/pfe: introduce basic functions 2019-10-23 16:43:08 +02:00
meson.build net/pfe: introduce basic functions 2019-10-23 16:43:08 +02:00