Go to file
Olivier Matz 11fd19f764 mem: fix build with -O1
When compiled with EXTRA_CFLAGS="-O1", the compiler is not
able to detect that size is always initialized when used, and
issues a wrong warning:

  eal_memory.c: In function ‘rte_eal_hugepage_attach’:
  eal_memory.c:1684:3: error: ‘size’ may be used uninitialized in this
                       function [-Werror=maybe-uninitialized]
     munmap(hp, size);
     ^

Workaround this issue by initializing size to 0.
Seen on gcc (Debian 5.4.1-1) 5.4.1 20160803.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
2016-10-06 15:23:53 +02:00
app app/testpmd: reset headroom after txonly packet allocation 2016-10-05 15:17:12 +02:00
buildtools pmdinfogen: fix clang build 2016-10-04 11:50:56 +02:00
config net/i40e: support ARM platform 2016-09-30 12:27:18 +02:00
doc net/bnxt: update guide 2016-09-30 12:27:18 +02:00
drivers net/bnxt: update struct definitions for 1.5.1 HWRM API 2016-09-30 12:27:18 +02:00
examples examples/vhost: remove VLAN strip option 2016-09-13 05:25:08 +02:00
lib mem: fix build with -O1 2016-10-06 15:23:53 +02:00
mk vhost: remove vhost-cuse 2016-09-13 05:25:08 +02:00
pkg version: 16.07.0 2016-07-28 20:48:41 +02:00
scripts scripts: disable optimization for ABI validation 2016-09-15 14:51:48 +02:00
tools tools: fix virtio interface name when binding 2016-09-27 08:08:31 +02:00
.gitignore doc: generate NIC overview table from ini files 2016-08-03 18:42:17 +02:00
GNUmakefile pmdinfogen: add buildtools and pmdinfogen utility 2016-07-06 22:34:39 +02:00
LICENSE.GPL
LICENSE.LGPL
MAINTAINERS maintainers: add new bnxt driver maintainer 2016-09-30 12:27:18 +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