numam-dpdk/drivers/net/ionic
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
..
ionic_dev.c net/ionic: break up queue post function 2021-02-25 16:58:56 +01:00
ionic_dev.h net/ionic: break up queue post function 2021-02-25 16:58:56 +01:00
ionic_ethdev.c net/ionic: fix Tx fragment limits 2021-02-05 12:44:16 +01:00
ionic_ethdev.h net/ionic: improve link state handling 2021-01-13 18:51:58 +01:00
ionic_if.h net/ionic: update interface file 2021-01-08 16:03:04 +01:00
ionic_lif.c drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
ionic_lif.h net/ionic: store Tx fragment limit in queue 2021-02-25 16:58:56 +01:00
ionic_logs.h net/ionic: add log 2020-01-20 18:02:17 +01:00
ionic_mac_api.c net/ionic: use standard boolean type 2020-03-18 10:21:42 +01:00
ionic_mac_api.h net/ionic: register and initialize adapter 2020-01-20 18:02:17 +01:00
ionic_main.c drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
ionic_osdep.h drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
ionic_regs.h net/ionic: remove some unused fields 2021-01-08 16:03:04 +01:00
ionic_rx_filter.c net/ionic: consolidate adminq code 2021-02-25 16:58:56 +01:00
ionic_rx_filter.h net/ionic: remove unused filter delete function 2021-02-25 16:58:56 +01:00
ionic_rxtx.c net/ionic: store Tx fragment limit in queue 2021-02-25 16:58:56 +01:00
ionic_rxtx.h net/ionic: add Rx and Tx handling 2020-01-20 18:02:17 +01:00
ionic.h net/ionic: consolidate adminq code 2021-02-25 16:58:56 +01:00
meson.build drivers/net: build i40e and mlx5 on Windows 2021-01-14 23:51:24 +01:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00