-
- Downloads
test/vsock: rework message bounds test
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 <AVKrasnov@sberdevices.ru> Reviewed-by:
Stefano Garzarella <sgarzare@redhat.com> Signed-off-by:
Paolo Abeni <pabeni@redhat.com>
Showing
- tools/testing/vsock/control.c 28 additions, 0 deletionstools/testing/vsock/control.c
- tools/testing/vsock/control.h 2 additions, 0 deletionstools/testing/vsock/control.h
- tools/testing/vsock/util.c 13 additions, 0 deletionstools/testing/vsock/util.c
- tools/testing/vsock/util.h 1 addition, 0 deletionstools/testing/vsock/util.h
- tools/testing/vsock/vsock_test.c 113 additions, 15 deletionstools/testing/vsock/vsock_test.c
Loading
Please register or sign in to comment