924e6b7634
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> |
||
---|---|---|
.. | ||
ionic_dev.c | ||
ionic_dev.h | ||
ionic_ethdev.c | ||
ionic_ethdev.h | ||
ionic_if.h | ||
ionic_lif.c | ||
ionic_lif.h | ||
ionic_logs.h | ||
ionic_mac_api.c | ||
ionic_mac_api.h | ||
ionic_main.c | ||
ionic_osdep.h | ||
ionic_regs.h | ||
ionic_rx_filter.c | ||
ionic_rx_filter.h | ||
ionic_rxtx.c | ||
ionic_rxtx.h | ||
ionic.h | ||
meson.build | ||
version.map |