selftests: mlxsw: Add few fixes for sharedbuffer test
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | selftests: mlxsw: sharedbuffer: Remove h1 ingress test casetools/ | +0 | 0 replies | Applied |
| 2/3 | selftests: mlxsw: sharedbuffer: Remove duplicate test casestools/ | +0 | 0 replies | Applied |
| 3/3 | selftests: mlxsw: sharedbuffer: Ensure no extra packets are countedtools/ | +40 | 0 replies | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Ido Schimmel |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net 0/3] selftests: mlxsw: Add few fixes for sharedbuffer test
Danielle Ratson writes:
Currently, the sharedbuffer test fails sometimes because it is reading a maximum occupancy that is larger than expected on some different cases.
This is happening because the test assumes that the packet it is sending is the only packet being passed to the device.
In addition, some duplications on one hand, and redundant test cases on the other hand, were found in the test.
Add egress filters on h1 and h2 that will guarantee that the packets in the buffer are sent in the test, and remove the redundant test cases.
Danielle Ratson (3):
selftests: mlxsw: sharedbuffer: Remove h1 ingress test case
selftests: mlxsw: sharedbuffer: Remove duplicate test cases
selftests: mlxsw: sharedbuffer: Ensure no extra packets are counted
.../drivers/net/mlxsw/sharedbuffer.sh | 55 ++++++++++++++----- 1 file changed, 40 insertions(+), 15 deletions(-)
Signature · 1 line
2.47.0