numam-dpdk/drivers/net
Adrien Mazarguil 80fcb5cad4 net/avp: fix exported headers
This commit addresses several errors related to missing includes such as:

 In file included from /tmp/check-includes.sh.15315.c:1:0:
 build/include/rte_avp_fifo.h:77:22: error: 'struct rte_avp_fifo' declared
    inside parameter list [-Werror]
 [...]
 build/include/rte_avp_fifo.h: In function 'avp_fifo_init':
 build/include/rte_avp_fifo.h:81:3: error: implicit declaration of function
    'rte_panic' [-Werror=implicit-function-declaration]
 [...]
 build/include/rte_avp_fifo.h:83:6: error: dereferencing pointer to
    incomplete type
 [...]
 build/include/rte_avp_fifo.h:109:2: error: implicit declaration of
    function 'rte_wmb' [-Werror=implicit-function-declaration]
 [...]
 In file included from /tmp/check-includes.sh.15315.c:1:0:
 build/include/rte_avp_common.h:104:2: error: unknown type name 'uint64_t'
 [...]
 build/include/rte_avp_common.h:386:15: error: 'ETHER_ADDR_LEN' undeclared
    here (not in a function)
 [...]

It addresses errors with strict compilation flags:

 In file included from /tmp/check-includes.sh.15315.c:1:0:
 build/include/rte_avp_common.h:122:3: error: ISO C99 doesn't support
    unnamed structs/unions [-Werror=pedantic]
 [...]
 build/include/rte_avp_common.h:136:17: error: ISO C forbids zero-size
    array 'buffer' [-Werror=pedantic]
 [...]

And also adds C++ awareness to both header files.

Fixes: 8e680655e2 ("net/avp: add public header files")

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Allain Legacy <allain.legacy@windriver.com>
2017-05-01 00:13:15 +02:00
..
af_packet drivers/net: use ethdev allocation helper for vdev 2017-04-18 19:04:49 +02:00
ark net/ark: fix build on FreeBSD 2017-04-21 16:19:40 +02:00
avp net/avp: fix exported headers 2017-05-01 00:13:15 +02:00
bnx2x drivers/net: do not use ethdev driver 2017-04-18 19:05:46 +02:00
bnxt drivers/net: do not use ethdev driver 2017-04-18 19:05:46 +02:00
bonding net/bonding: allow configuring jumbo frames without slaves 2017-04-19 15:37:37 +02:00
cxgbe net/cxgbe: fix possible null pointer dereference 2017-04-19 15:37:37 +02:00
dpaa2 net/dpaa2: enable frame queue based dequeuing 2017-04-19 15:37:37 +02:00
e1000 net/e1000: support xstats by ID 2017-04-20 22:30:26 +02:00
ena net/ena: calculate partial checksum if DF bit is disabled 2017-04-19 15:37:37 +02:00
enic net/enic: remove initialization of some mbuf fields 2017-04-19 15:37:37 +02:00
fm10k drivers/net: do not use ethdev driver 2017-04-18 19:05:46 +02:00
i40e net/i40e: fix build on ppc64le 2017-04-20 10:21:59 +02:00
ixgbe net/ixgbe: support xstats by ID 2017-04-20 22:30:26 +02:00
kni net/kni: remove unnecessary null check 2017-04-19 15:37:37 +02:00
liquidio net/liquidio: support 25G link speed 2017-04-19 15:37:37 +02:00
mlx4 net/mlx4: support device removal event 2017-04-21 01:01:47 +02:00
mlx5 net/mlx5: fix parameters defaults 2017-04-19 15:37:37 +02:00
nfp drivers/net: do not use ethdev driver 2017-04-18 19:05:46 +02:00
null drivers/net: use ethdev allocation helper for vdev 2017-04-18 19:04:49 +02:00
pcap drivers/net: use ethdev allocation helper for vdev 2017-04-18 19:04:49 +02:00
qede drivers/net: do not use ethdev driver 2017-04-18 19:05:46 +02:00
ring ethdev: remove ethdev driver 2017-04-18 19:07:45 +02:00
sfc net/sfc: correct RSS hash availability condition 2017-04-19 15:37:37 +02:00
szedata2 drivers/net: do not use ethdev driver 2017-04-18 19:05:46 +02:00
tap net/tap: update driver param string 2017-04-19 15:37:37 +02:00
thunderx net/thunderx: reduce writes to mbuf 2017-04-19 15:37:37 +02:00
vhost net/vhost: stop dev in close and address mem leak 2017-04-19 10:49:06 +02:00
virtio net/virtio: support to turn on/off traffic flow 2017-04-19 10:49:06 +02:00
vmxnet3 drivers/net: do not use ethdev driver 2017-04-18 19:05:46 +02:00
xenvirt net/xenvirt: fix build error 2017-04-19 14:12:50 +02:00
Makefile net/dpaa2: introduce NXP DPAA2 driver 2017-04-19 15:37:37 +02:00