numam-dpdk/drivers/bus/vmbus
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
..
linux drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
meson.build build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
private.h drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
rte_bus_vmbus.h drivers: remove useless constructor headers 2018-11-01 22:38:00 +01:00
rte_vmbus_reg.h drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
vmbus_bufring.c bus/vmbus: simplify arguments to need signal function 2020-04-21 13:57:06 +02:00
vmbus_channel.c bus/vmbus: remove sending interrupts via INT bit 2020-09-18 18:55:06 +02:00
vmbus_common_uio.c drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
vmbus_common.c eal: replace blacklist/whitelist options 2020-11-16 00:11:22 +01:00