linux/tools/testing/selftests/drivers
Danielle Ratson 5f2c7ab15f selftests: mlxsw: sharedbuffer: Ensure no extra packets are counted
The test assumes that the packet it is sending is the only packet being
passed to the device.

However, it is not the case and so other packets are filling the buffers
as well. Therefore, the test sometimes fails because it is reading a
maximum occupancy that is larger than expected.

Add egress filters on $h1 and $h2 that will guarantee the above.

Fixes: a865ad9996 ("selftests: mlxsw: Add shared buffer traffic test")
Signed-off-by: Danielle Ratson <danieller@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Link: https://patch.msgid.link/64c28bc9b1cc1d78c4a73feda7cedbe9526ccf8b.1733414773.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-12-06 17:37:37 -08:00
..
dma-buf selftests/udmabuf: add tests to verify data after page migration 2024-07-12 15:52:11 -07:00
gpu selftests/drivers/gpu: Add error messages to drm_mm.sh 2022-06-28 13:32:29 -06:00
net selftests: mlxsw: sharedbuffer: Ensure no extra packets are counted 2024-12-06 17:37:37 -08:00
platform/x86/intel/ifs selftests: ifs: verify IFS ARRAY BIST functionality 2024-07-11 11:31:11 -06:00
s390x/uvdevice selftests: harness: remove unneeded __constructor_order_last() 2024-08-06 13:40:20 -06:00
sdsi selftests: sdsi: test sysfs setup 2022-03-02 14:56:12 +01:00
usb/usbip
.gitignore selftests: drivers/s390x: Add uvdevice tests 2022-05-20 16:38:42 +02:00