Messages in this thread | | | Date | Tue, 13 Dec 2022 11:45:42 +0100 | From | Stefano Garzarella <> | Subject | Re: [RFC PATCH v4 2/4] test/vsock: rework message bounds test |
| |
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 <AVKrasnov@sberdevices.ru> >--- > 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>
| |