[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20250304193813.3225343-1-jonathan.lennox@8x8.com>
Date: Tue, 4 Mar 2025 19:38:13 +0000
From: Jonathan Lennox <jonathan.lennox42@...il.com>
To: Jonathan Lennox <jonathan.lennox@....com>,
Jonathan Lennox <jonathan.lennox42@...il.com>,
David Ahern <dsahern@...nel.org>,
netdev@...r.kernel.org,
Stephen Hemminger <stephen@...workplumber.org>
Subject: [PATCH net-next] tc-tests: Update tc police action tests for tc buffer size rounding fixes.
Before tc's recent change to fix rounding errors, several tests which
specified a burst size of "1m" would translate back to being 1048574
bytes (2b less than 1Mb). sprint_size prints this as "1024Kb".
With the tc fix, the burst size is instead correctly reported as
1048576 bytes (precisely 1Mb), which sprint_size prints as "1Mb".
This updates the expected output in the tests' matchPattern values
accordingly.
Signed-off-by: Jonathan Lennox <jonathan.lennox@....com>
---
.../selftests/tc-testing/tc-tests/actions/police.json | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
View attachment "0001-tc-tests-Update-tc-police-action-tests-for-tc-buffer.patch" of type "text/x-patch" (2865 bytes)
Powered by blists - more mailing lists