On 2025-04-19 07:10, Haiyue Wang wrote:
Use the API `sysconf()` to query page size at runtime, instead of using hard code number 4096.
And use `posix_memalign` to allocate the page size aligned momory.
Signed-off-by: Haiyue Wang haiyuewa@163.com
.../selftests/drivers/net/hw/iou-zcrx.c | 23 ++++++++++++------- 1 file changed, 15 insertions(+), 8 deletions(-)
Reviewed-by: David Wei dw@davidwei.uk