numam-dpdk/lib/librte_pmd_ixgbe
Thomas Monjalon e74c4e0938 mk: fix build with gcc 4.4 and clang
With GCC 4.4.7 from CentOS 6.5, the following errors arise:

lib/librte_pmd_ixgbe/ixgbe_rxtx.c: In function 'ixgbe_dev_rx_queue_setup':
lib/librte_pmd_ixgbe/ixgbe_rxtx.c:2509: error: missing initializer
lib/librte_pmd_ixgbe/ixgbe_rxtx.c:2509: error: (near initialization for 'dev_info.driver_name')

lib/librte_pmd_ixgbe/ixgbe_rxtx.c: In function 'ixgbe_set_rsc':
lib/librte_pmd_ixgbe/ixgbe_rxtx.c:4072: error: missing initializer
lib/librte_pmd_ixgbe/ixgbe_rxtx.c:4072: error: (near initialization for 'dev_info.driver_name')

lib/librte_pmd_ixgbe/ixgbe_rxtx.c: In function 'ixgbe_recv_pkts_lro_single_alloc':
lib/librte_pmd_ixgbe/ixgbe_rxtx.c:1479: error: 'next_rsc_entry' may be used uninitialized in this function
lib/librte_pmd_ixgbe/ixgbe_rxtx.c:1480: error: 'next_rxe' may be used uninitialized in this function

The "missing initializer" warning is a GCC bug which seems fixed in 4.7.
The same warning is thrown by clang.
The "may be used uninitialized" warning is another GCC bug which seems fixed in 4.7.

Fixes: 8eecb3295a ("ixgbe: add LRO support")

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
Acked-by: Vlad Zolotarov <vladz@cloudius-systems.com>
2015-04-20 14:37:22 +02:00
..
ixgbe ixgbe: unify Rx setup 2015-03-17 00:46:01 +01:00
ixgbe_82599_bypass.c ixgbe: fix build with bypass enabled 2014-10-09 20:02:34 +02:00
ixgbe_bypass_api.h ixgbe: support X550 2014-10-07 17:01:08 +02:00
ixgbe_bypass_defines.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
ixgbe_bypass.c ixgbe: fix build with bypass and debug enabled 2014-12-02 12:28:11 +01:00
ixgbe_bypass.h remove trailing whitespaces 2014-06-11 00:29:34 +02:00
ixgbe_ethdev.c ixgbe: add LRO support 2015-04-13 23:03:46 +02:00
ixgbe_ethdev.h ixgbe: add LRO support 2015-04-13 23:03:46 +02:00
ixgbe_fdir.c ixgbe: fix supported flow types 2015-03-10 16:44:54 +01:00
ixgbe_logs.h ixgbe: always log init messages 2014-09-18 20:52:41 +02:00
ixgbe_pf.c ixgbe: remove an useless check in VF RSS 2015-01-27 12:36:24 +01:00
ixgbe_rxtx_vec.c ixgbe: unify Rx setup 2015-03-17 00:46:01 +01:00
ixgbe_rxtx.c ixgbe: add LRO support 2015-04-13 23:03:46 +02:00
ixgbe_rxtx.h ixgbe: add LRO support 2015-04-13 23:03:46 +02:00
Makefile mk: fix build with gcc 4.4 and clang 2015-04-20 14:37:22 +02:00
rte_pmd_ixgbe_version.map lib: provide initial versioning 2015-02-03 16:56:58 +01:00