Re: [PATCH net-next v2] selftests: net: forwarding: bridge_vlan_mcast: Allow default startup query interval to vary by HZ
From: Ido Schimmel
Date: Sun Oct 25 2026 - 07:21:00 EST
On Thu, Oct 22, 2026 at 06:30:22PM +0800, Jin Li wrote:
> The mcast_startup_query_interval default value is calculated as
> 125 * HZ / 4. With CONFIG_HZ=250, this results in 3124 instead of
> 3125 due to integer truncation. The test currently hardcodes 3125,
> which fails on kernels built with CONFIG_HZ=250.
>
> Allow a +/- 1 tolerance for the default value check to account for
> this rounding, while still catching genuine regressions in the
> default value.
>
> Signed-off-by: Jin Li <jinli@xxxxxxxxxxxxxxxxxxx>
Reviewed-by: Ido Schimmel <idosch@xxxxxxxxxx>
net-next is closed:
https://netdev.bots.linux.dev/net-next.html
So you will need to re-post after it re-opens.