numam-dpdk/drivers/net/bnx2x
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
..
bnx2x_ethdev.c ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
bnx2x_ethdev.h ethdev: make driver-only headers private 2021-01-29 20:59:09 +01:00
bnx2x_logs.h net/bnx2x: fix dynamic logging 2018-11-14 00:35:53 +01:00
bnx2x_osal.h net/bnx2x: fix meson build 2019-11-06 11:55:24 +01:00
bnx2x_rxtx.c net/bnx2x: add Rx descriptor MTU segment limitation 2020-05-11 22:27:39 +02:00
bnx2x_rxtx.h net/bnx2x: fix DMAE timeout 2019-04-19 14:51:54 +02:00
bnx2x_stats.c net/bnx2x: fix logging to include device name 2018-10-11 18:53:48 +02:00
bnx2x_stats.h net/bnx2x: move SPDX tags to source files 2018-08-03 17:08:39 +02:00
bnx2x_vfpf.c net/bnx2x: add multicast MAC address filtering 2020-04-21 13:57:07 +02:00
bnx2x_vfpf.h net/bnx2x: add multicast MAC address filtering 2020-04-21 13:57:07 +02:00
bnx2x.c net/bnx2x: use common bit operations API 2020-06-16 14:34:42 +02:00
bnx2x.h drivers/net: redefine array size macros 2021-02-22 18:08:08 +01:00
ecore_fw_defs.h drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
ecore_hsi.h net/bnx2x: update to latest FW 7.13.11 2019-10-08 12:14:31 +02:00
ecore_init_ops.h net/bnx2x: update to latest FW 7.13.11 2019-10-08 12:14:31 +02:00
ecore_init.h net/bnx2x: update to latest FW 7.13.11 2019-10-08 12:14:31 +02:00
ecore_mfw_req.h net/bnx2x: update to latest FW 7.13.11 2019-10-08 12:14:31 +02:00
ecore_reg.h net/bnx2x: update and reorganize HW registers 2019-10-08 12:14:31 +02:00
ecore_sp.c net/bnx2x: use common bit operations API 2020-06-16 14:34:42 +02:00
ecore_sp.h net/bnx2x: use common bit operations API 2020-06-16 14:34:42 +02:00
elink.c net/bnx2x: fix icc build 2019-06-26 09:14:24 +02:00
elink.h drivers/net: redefine array size macros 2021-02-22 18:08:08 +01:00
meson.build build: force pkg-config for dependency detection 2021-01-26 00:43:59 +01:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00