diff options
| author | Arseniy Krasnov <avkrasnov@salutedevices.com> | 2023-10-10 22:15:23 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2023-10-15 15:19:42 +0300 |
| commit | e846d679ad131c71c190123f3b6176c108567c85 (patch) | |
| tree | 5538965532e6cb92e45fbcffd28af711c02eeab6 /tools/testing/vsock/Makefile | |
| parent | bc36442ef3b776ee6d5148a4e175c367af057ce1 (diff) | |
| download | linux-e846d679ad131c71c190123f3b6176c108567c85.tar.xz | |
test/vsock: MSG_ZEROCOPY support for vsock_perf
To use this option pass '--zerocopy' parameter:
./vsock_perf --zerocopy --sender <cid> ...
With this option MSG_ZEROCOPY flag will be passed to the 'send()' call.
Signed-off-by: Arseniy Krasnov <avkrasnov@salutedevices.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/vsock/Makefile')
| -rw-r--r-- | tools/testing/vsock/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/vsock/Makefile b/tools/testing/vsock/Makefile index bb938e4790b5..228470ae33c2 100644 --- a/tools/testing/vsock/Makefile +++ b/tools/testing/vsock/Makefile @@ -3,7 +3,7 @@ all: test vsock_perf test: vsock_test vsock_diag_test vsock_test: vsock_test.o vsock_test_zerocopy.o timeout.o control.o util.o msg_zerocopy_common.o vsock_diag_test: vsock_diag_test.o timeout.o control.o util.o -vsock_perf: vsock_perf.o +vsock_perf: vsock_perf.o msg_zerocopy_common.o CFLAGS += -g -O2 -Werror -Wall -I. -I../../include -I../../../usr/include -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE -D_GNU_SOURCE .PHONY: all test clean |
