]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: drv-net: devmem: flip the direction of Tx tests
authorJakub Kicinski <kuba@kernel.org>
Mon, 11 Aug 2025 23:13:34 +0000 (16:13 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Aug 2025 01:27:43 +0000 (18:27 -0700)
commitc378c497f3fe8dc8f08b487fce49c3d96e4cada8
tree359f498aff3badc18e2b462428b089a91014ef52
parent6e9a12f85a7567bb9a41d5230468886bd6a27b20
selftests: drv-net: devmem: flip the direction of Tx tests

The Device Under Test should always be the local system.
While the Rx test gets this right the Tx test is sending
from remote to local. So Tx of DMABUF memory happens on remote.

These tests never run in NIPA since we don't have a compatible
device so we haven't caught this.

Reviewed-by: Joe Damato <joe@dama.to>
Reviewed-by: Mina Almasry <almasrymina@google.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250811231334.561137-6-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/devmem.py