lkml.org 
[lkml]   [2022]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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>

    \
     
     \ /
      Last update: 2022-12-13 11:47    [W:3.757 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site