numam-dpdk/drivers
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
..
baseband config: remove compatibility build defines 2021-01-20 01:43:25 +01:00
bus drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
common build: remove redundant _GNU_SOURCE definitions 2021-03-23 08:41:05 +01:00
compress compress/mlx5: support timestamp format 2021-03-16 10:05:39 +01:00
crypto drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
event drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
mempool net/dpaa: prevent multiple mempool config 2021-02-24 18:03:30 +01:00
net drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
raw raw/ifpga: add miscellaneous APIs 2021-03-05 09:56:18 +01:00
regex regex/mlx5: support timestamp format 2021-03-16 10:05:38 +01:00
vdpa drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
meson.build common/sfc_efx: move function to get family 2021-03-16 12:39:42 +01:00