Go to file
Adrien Mazarguil 1cc275ef61 mempool: fix empty structure definition
This commit addresses the following warning reported by clang, which
happens by default, as long as CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG is disabled:

 warning: empty struct has size 0 in C, size 1 in C++

C and C++ must use the same size for objects to avoid corruption during run
time.

Fixes: 97e7e685bf ("mempool: add structure for object trailers")

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-07-15 17:26:52 +02:00
app app/test: filter out unavailable tests 2016-07-15 17:25:07 +02:00
buildtools pmdinfogen: fix build on FreeBSD 2016-07-10 14:51:09 +02:00
config net/virtio-user: fix missing default config value 2016-07-04 04:08:41 +02:00
doc eal: remove PCI device ids header from doxygen 2016-07-11 17:35:48 +02:00
drivers net/ena: remove unneeded PCI macro 2016-07-11 17:48:49 +02:00
examples examples/ip_pipeline: add config diagram generator 2016-07-11 17:26:52 +02:00
lib mempool: fix empty structure definition 2016-07-15 17:26:52 +02:00
mk mk: fix dependency on toolchain libraries 2016-07-15 16:08:25 +02:00
pkg version: 16.04 2016-04-11 23:56:34 +02:00
scripts scripts: remove old build option 2016-07-15 16:08:25 +02:00
tools tools: fix pmdinfo for FreeBSD 2016-07-10 14:51:09 +02:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile pmdinfogen: add buildtools and pmdinfogen utility 2016-07-06 22:34:39 +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 maintainers: add section for pmdinfo 2016-07-08 17:48:15 +02: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