Thread (9 messages) 9 messages, 2 authors, 2022-12-13

Re: [RFC PATCH v4 2/4] test/vsock: rework message bounds test

From: Stefano Garzarella <sgarzare@redhat.com>
Date: 2022-12-13 10:47:09
Also in: lkml, virtualization

On Tue, Dec 06, 2022 at 08:50:55PM +0000, Arseniy Krasnov wrote:
This updates message bound test making it more complex. Instead of
sending 1 bytes messages with one MSG_EOR bit, it sends messages of
random length(one half of messages are smaller than page size, second
half are bigger) with random number of MSG_EOR bits set. Receiver
also don't know total number of messages.

Signed-off-by: Arseniy Krasnov <redacted>
---
tools/testing/vsock/control.c    |  28 +++++++
tools/testing/vsock/control.h    |   2 +
tools/testing/vsock/util.c       |  13 ++++
tools/testing/vsock/util.h       |   1 +
tools/testing/vsock/vsock_test.c | 128 +++++++++++++++++++++++++++----
5 files changed, 157 insertions(+), 15 deletions(-)
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help