Go to file
Thomas Monjalon 924e6b7634 drivers: replace page size definitions with function
The page size is often retrieved from the macro PAGE_SIZE.
If PAGE_SIZE is not defined, it is either using hard coded default,
or getting the system value from the UNIX-only function sysconf().

Such definitions are replaced with the generic function
rte_mem_page_size() defined for each supported OS.

Removing PAGE_SIZE definitions will fix dlb drivers for musl libc,
because #ifdef checks were missing, causing redefinition errors.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Andrew Boyer <aboyer@pensando.io>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Acked-by: David Marchand <david.marchand@redhat.com>
Acked-by: Timothy McDaniel <timothy.mcdaniel@intel.com>
2021-03-23 08:41:05 +01:00
.ci ci: catch coredumps 2021-03-03 10:05:23 +01:00
.github/workflows ci: catch coredumps 2021-03-03 10:05:23 +01:00
app build: remove redundant _GNU_SOURCE definitions 2021-03-23 08:41:05 +01:00
buildtools buildtools: fix build with busybox 2021-03-23 08:39:11 +01:00
config build: detect execinfo library on Linux 2021-03-23 08:41:05 +01:00
devtools devtools: add acronyms in dictionary for commit checks 2021-03-12 07:00:11 +01:00
doc eal: fix build with musl 2021-03-23 08:41:05 +01:00
drivers drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
examples build: detect execinfo library on Linux 2021-03-23 08:41:05 +01:00
kernel build: support KNI cross-compilation 2021-03-15 23:43:40 +01:00
lib eal: fix build with musl 2021-03-23 08:41:05 +01:00
license license: remove pmdinfogen from exceptions 2021-02-05 18:13:19 +01:00
usertools usertools: fix binding built-in kernel driver 2021-02-11 23:23:02 +01:00
.editorconfig devtools: add EditorConfig file 2020-02-22 21:05:22 +01:00
.gitattributes
.gitignore
.travis.yml ci: update arm64 Travis jobs to Graviton2 2021-03-02 13:43:38 +01:00
ABI_VERSION version: 21.05-rc0 2021-02-15 11:08:19 +01:00
MAINTAINERS maintainers: update for qede 2021-03-12 13:52:09 +01:00
Makefile
meson_options.txt build: support KNI cross-compilation 2021-03-15 23:43:40 +01:00
meson.build build: exclude meson files from examples installation 2021-03-15 20:44:29 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 21.05-rc0 2021-02-15 11:08:19 +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