From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9506B35BDC2 for ; Thu, 12 Feb 2026 13:55:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770904511; cv=none; b=ls68efNfEKKMY9FB9qxIM8dxkUdzcRKSLcNHmI4MxD6LfYiKCaVOYDHw2BD9XAYsuSm1HP9x+vC91ryEJbopOqBOkbi6vX8uIDcXsH0cUno4HqX1a79irmhgx1sR9HUBXIoSPRQfCmVJfee7Q0o9kEQDMw1SuFbgUzeW+is+aFY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770904511; c=relaxed/simple; bh=KAT1lJQDph4IFw7BNipqvXdkU4CRDXaLeP7nEPQKiK0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=C7WGkxXJ/YruJhy7sCfrEsiC7hnhyl8b9Z3N0qtxrv9Wxqbsyo+Kjn8/Ch0RNHFO3NzbH1qxf9uBUCuLljNvK1RCbg65/kbcYsj7FVyByQXj9L5ptQJPqb33S80XJua6QaPMI02wsRKJ+d4WvSPSHGTwBGZLO8Xv1+4kyJKTG30= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=K/QB9ozZ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="K/QB9ozZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 164A4C4CEF7; Thu, 12 Feb 2026 13:55:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1770904510; bh=KAT1lJQDph4IFw7BNipqvXdkU4CRDXaLeP7nEPQKiK0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K/QB9ozZsDBlozpX7Rh+xTFwvklKOdbdBEFXiHw5MV4DnD62n1DWcIucInMj59t8U gVKWY0lIF/rsswpONmswXsr9IyuPux+oB/9tS6vlxm50HrMC+W08sGfyvYUsGZTdhe oOSRJZKanuM24QpF75WqtYTOifwQAlfn/DCfbkV0StD0u0ZzVYD1BDlHb3O6yg2rPh oR7a/neELSJaRyxfIO8EuYFqGcnMMaaU9MOf58Pfqf2ymniwe0cERKnbfo2U3Ct8Om IiuQRRZwFmmQX8i7TiJTrKM57vMOKLzDBNniyaBrnVxc6AIcpGEhes0WZNrqlqjPUz jF6BYX4rJKbcQ== Date: Thu, 12 Feb 2026 13:55:06 +0000 From: Simon Horman To: Petr Machata Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , netdev@vger.kernel.org, Ido Schimmel , mlxsw@nvidia.com Subject: Re: [PATCH net] selftests: mlxsw: tc_restrictions: Fix test failure with new iproute2 Message-ID: References: <88b00c6e85188aa6a065dc240206119b328c46e1.1770643998.git.petrm@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <88b00c6e85188aa6a065dc240206119b328c46e1.1770643998.git.petrm@nvidia.com> On Mon, Feb 09, 2026 at 02:53:53PM +0100, Petr Machata wrote: > From: Ido Schimmel > > As explained in [1], iproute2 started rejecting tc-police burst sizes > that result in an overflow. This can happen when the burst size is high > enough and the rate is low enough. > > A couple of test cases specify such configurations, resulting in > iproute2 errors and test failure. > > Fix by reducing the burst size so that the test will pass with both new > and old iproute2 versions. > > [1] https://lore.kernel.org/netdev/20250916215731.3431465-1-jay.vosburgh@canonical.com/ > > Fixes: cb12d1763267 ("selftests: mlxsw: tc_restrictions: Test tc-police restrictions") > Signed-off-by: Ido Schimmel > Signed-off-by: Petr Machata Reviewed-by: Simon Horman