hsa: fix echo-bytes echo client runs over UDP 85/43285/3
authorSemir Sionek <[email protected]>
Tue, 24 Jun 2025 12:19:04 +0000 (12:19 +0000)
committerFlorin Coras <[email protected]>
Wed, 25 Jun 2025 19:57:31 +0000 (19:57 +0000)
commitd2a2473a6accc7c30eb9fb2f9ae5b0979d638d5b
treea4adebad515b0a4fdd027e28e217b4199be51229
parentf3f9100fe4184bb37d44eb82ec6f027f3482f95f
hsa: fix echo-bytes echo client runs over UDP

Previously counting received bytes didn't take into account the
datagram header size, leading to a bigger than expected size and an
overflow of es->bytes_to_receive.

Type: fix
Change-Id: If31d4ed5f989645388dbf9c1b9829c6f2e4e8c62
Signed-off-by: Semir Sionek <[email protected]>
extras/hs-test/echo_test.go
src/plugins/hs_apps/echo_client.c