hsa: show tx/rx stats for UDP on timeout and fix test-bytes for UDP
We shouldn't assume that all the dgrams will be transported between
server and client.
This patch addresses this issue in two places:
1. Now if we hit the timeout on UDP client rx (not all bytes
transported), instead of an error - we display tx/rx byte stats.
2. For test-bytes mode, we now include a 4 byte buffer offset with each
dgram to check against for data corruption. Previous solution was
based on the assumption that data will arrive in sequence, which is
just not the case for UDP.
Type: fix
Change-Id: I1a2ac8afe4180830b32f4ea67b4b477f167e0800
Signed-off-by: Semir Sionek <[email protected]>