test/vsock: new skbuff appending test
authorArseniy Krasnov <avkrasnov@sberdevices.ru>
Tue, 28 Mar 2023 11:33:07 +0000 (14:33 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 30 Mar 2023 08:47:48 +0000 (10:47 +0200)
commit25209a3209ecc44f93300b7ee5287f451be1d6ff
treeda09ab668c23c5a0fd78eef538d8d1209169abac
parentb8d2f61fdf2a566f7872158f35e65599aceb90fb
test/vsock: new skbuff appending test

This adds test which checks case when data of newly received skbuff is
appended to the last skbuff in the socket's queue. It looks like simple
test with 'send()' and 'recv()', but internally it triggers logic which
appends one received skbuff to another. Test checks that this feature
works correctly.

This test is actual only for virtio transport.

Signed-off-by: Arseniy Krasnov <AVKrasnov@sberdevices.ru>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/vsock/vsock_test.c