diff options
author | 2023-12-14 15:52:30 +0300 | |
---|---|---|
committer | 2023-12-15 10:37:35 +0000 | |
commit | 542e893fbadc51caa38a7c4c2a8f8e822cdba2b1 (patch) | |
tree | 52814a32ece7cb1bad9aebc29b0275fdffea9699 /net/core/dev.c | |
parent | virtio/vsock: send credit update during setting SO_RCVLOWAT (diff) | |
download | linux-rng-542e893fbadc51caa38a7c4c2a8f8e822cdba2b1.tar.xz linux-rng-542e893fbadc51caa38a7c4c2a8f8e822cdba2b1.zip |
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 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions