search for: test_stream_virtio_skb_merge_client

Displaying 1 result from an estimated 1 matches for "test_stream_virtio_skb_merge_client".

2023 Mar 20
0
[RFC PATCH v1 3/3] test/vsock: skbuff merging test
...t.c >index 3de10dbb50f5..00216c52d8b6 100644 >--- a/tools/testing/vsock/vsock_test.c >+++ b/tools/testing/vsock/vsock_test.c >@@ -968,6 +968,82 @@ static void test_seqpacket_inv_buf_server(const struct test_opts *opts) > test_inv_buf_server(opts, false); > } > >+static void test_stream_virtio_skb_merge_client(const struct test_opts *opts) >+{ >+ ssize_t res; >+ int fd; >+ >+ fd = vsock_stream_connect(opts->peer_cid, 1234); >+ if (fd < 0) { >+ perror("connect"); >+ exit(EXIT_FAILURE); >+ } >+ Please use a macro for "HELLO" or a variabile, e.g....