[LTP] [PATCH] Fix setsockopt(PACKET_RX_RING) usage on PPC64

Petr Vorel pvorel@suse.cz
Fri Feb 25 11:56:15 CET 2022


Hi Martin,

> struct tpacket_req3.tp_block_size value must be a multiple of page size.
> Replace constants with values calculated from actual page size to fix
> setsockopt() tests on PPC64 which has 64KB pages instead of 4KB.

Thanks!
Reviewed-by: Petr Vorel <pvorel@suse.cz>

Before merging this I'll just fix breaking CI (missing libmm-dev in Debian testing).

Kind regards,
Petr


More information about the ltp mailing list