Go to file
Olivier Matz f159c61c35 mempool: fix anonymous populate
The documentation says that a negative errno is returned on error, but
in most places that's not the case.

Fix the documentation and the exceptions in code. The second one
(return from populate_virt) also fixes a memory leak.

Note that testpmd was using the function correctly.

Fixes: aa10457eb4 ("mempool: make mempool populate and free api public")
Fixes: 6780f72fb8 ("mempool: populate with anonymous memory")
Fixes: 66e7ba0bad ("mempool: ensure mempool is initialized before populating")
Cc: stable@dpdk.org

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
2020-01-20 12:12:20 +01:00
.ci ci: add travis ci support for native aarch64 2020-01-14 09:45:23 +01:00
app app/testpmd: add flow dump command 2020-01-17 19:59:19 +01:00
buildtools doc: rebuild with meson whenever a file changes 2020-01-15 08:50:28 +01:00
config raw/octeontx2_ep: add build infra and device probe 2020-01-20 09:04:39 +01:00
devtools devtools: add path to additional shared object files 2020-01-14 09:45:23 +01:00
doc doc: fix igb_uio parameter in ntb guide 2020-01-20 10:14:03 +01:00
drivers raw/octeontx2_ep: fix shared library 2020-01-20 12:12:14 +01:00
examples examples/ntb: fix mempool ops setting 2020-01-20 10:39:06 +01:00
kernel kni: rename variable with namespace prefix 2020-01-20 00:25:45 +01:00
lib mempool: fix anonymous populate 2020-01-20 12:12:20 +01:00
license remove blank lines at end of file 2019-11-26 00:12:08 +01:00
mk raw/octeontx2_ep: add build infra and device probe 2020-01-20 09:04:39 +01:00
usertools usertools: fix typo in SPDX tag of telemetry script 2019-11-28 03:12:55 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add vDPA features table 2020-01-14 00:09:33 +01:00
.travis.yml ci: switch to Ubuntu 18.04 in Travis 2020-01-19 19:22:41 +01:00
ABI_VERSION build: fix soname info for 19.11 compatibility 2019-12-19 16:18:21 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS raw/octeontx2_ep: add build infra and device probe 2020-01-20 09:04:39 +01:00
Makefile remove blank lines at end of file 2019-11-26 00:12:08 +01:00
meson_options.txt build: change ABI versioning to global 2019-11-20 23:05:39 +01:00
meson.build build: fix Windows build 2019-11-25 15:07:02 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 20.02-rc0 2019-12-02 17:59:49 +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-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 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