numam-dpdk/drivers/crypto
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
..
aesni_gcm build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
aesni_mb crypto/aesni_mb: support Chacha-Poly in synchronous mode 2020-11-02 09:24:41 +01:00
armv8 build: force pkg-config for dependency detection 2021-01-26 00:43:59 +01:00
bcmfs build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
caam_jr build: align wording of non-support reasons 2020-11-20 16:05:35 +01:00
ccp build: force pkg-config for dependency detection 2021-01-26 00:43:59 +01:00
dpaa2_sec crypto/dpaa2_sec: fix memory allocation check 2021-01-27 20:58:14 +01:00
dpaa_sec crypto/dpaa_sec: reduce log on queue closure 2021-01-19 18:05:45 +01:00
kasumi build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
mvsam build: force pkg-config for dependency detection 2021-01-26 00:43:59 +01:00
nitrox build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
null config: remove compatibility build defines 2021-01-20 01:43:25 +01:00
octeontx config: remove compatibility build defines 2021-01-20 01:43:25 +01:00
octeontx2 crypto/octeontx2: fix null pointer dereferences 2021-02-04 18:55:52 +01:00
openssl build: force pkg-config for dependency detection 2021-01-26 00:43:59 +01:00
qat crypto/qat: fix digest in buffer 2021-01-27 20:40:03 +01:00
scheduler config: remove compatibility build defines 2021-01-20 01:43:25 +01:00
snow3g build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
virtio drivers: replace page size definitions with function 2021-03-23 08:41:05 +01:00
zuc build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
meson.build config: remove compatibility build defines 2021-01-20 01:43:25 +01:00