diff options
| author | Jonathan Lennox <[email protected]> | 2025-03-12 17:48:04 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-03-19 17:40:24 +0000 |
| commit | 756f88ff9c6ae3d059180813102610c39ea99c27 (patch) | |
| tree | f16350348aa2954a373a033dbe2510bace76ea63 /net/core/rtnetlink.c | |
| parent | net: stmmac: dwmac-rk: Provide FIFO sizes for DWMAC 1000 (diff) | |
| download | kernel-756f88ff9c6ae3d059180813102610c39ea99c27.tar.gz kernel-756f88ff9c6ae3d059180813102610c39ea99c27.zip | |
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
to accept either the old or the new output.
Signed-off-by: Jonathan Lennox <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/core/rtnetlink.c')
0 files changed, 0 insertions, 0 deletions
