aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/tracing_struct.c
diff options
context:
space:
mode:
authorArseniy Krasnov <avkrasnov@salutedevices.com>2023-12-14 15:52:30 +0300
committerDavid S. Miller <davem@davemloft.net>2023-12-15 10:37:35 +0000
commit542e893fbadc51caa38a7c4c2a8f8e822cdba2b1 (patch)
tree52814a32ece7cb1bad9aebc29b0275fdffea9699 /tools/testing/selftests/bpf/prog_tests/tracing_struct.c
parent0fe1798968115488c0c02f4633032a015b1faf97 (diff)
vsock/test: two tests to check credit update logic
Both tests are almost same, only differs in two 'if' conditions, so implemented in a single function. Tests check, that credit update message is sent: 1) During setting SO_RCVLOWAT value of the socket. 2) When number of 'rx_bytes' become smaller than SO_RCVLOWAT value. Signed-off-by: Arseniy Krasnov <avkrasnov@salutedevices.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions