Go to file
Michael Qiu e13676bfe7 lpm: fix build of anonymous union initialization
In SUSE11-SP3 i686 platform, with gcc 4.5.1, there is a
compile issue:
	rte_lpm.c: In function ‘add_depth_small_v20’:
	rte_lpm.c:778:7: error: unknown field ‘next_hop’
		specified in initializer

The root cause is gcc only allow anonymous union initialized
according to the field it is defined. But next_hop is defined
in different field when in different platform(Endian).

One solution is add if define in the code to avoid this issue,
but there is a simple way, initialize it separately later.

Fixes: afc5c914a0 ("lpm: fix big endian support")

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
2016-03-31 21:31:55 +02:00
app app/test: fix missing brackets 2016-03-31 17:09:23 +02:00
config config: enable i40e vector driver 2016-03-25 19:53:00 +01:00
doc config: enable i40e vector driver 2016-03-25 19:53:00 +01:00
drivers vmxnet3: remove asserts that confuse coverity 2016-03-31 21:18:55 +02:00
examples examples/l3fwd: fix using packet type blindly 2016-03-25 19:53:00 +01:00
lib lpm: fix build of anonymous union initialization 2016-03-31 21:31:55 +02:00
mk vhost: add driver on top of the library 2016-03-25 18:56:44 +01:00
pkg version: 2.2.0 2015-12-15 18:06:58 +01:00
scripts scripts: improve quiet checkpatch 2016-03-24 22:16:01 +01:00
tools tools: fix setup with built-in kernel modules 2016-03-24 22:04:10 +01:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile drivers: create new directory 2015-05-22 15:51:38 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS enic: update maintainers 2016-03-25 19:01:37 +01:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
README doc: add readme file 2015-12-13 22:06:58 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD license for the core libraries and
drivers. The kernel components are GPLv2 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org