aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/lib/py/env.py
diff options
context:
space:
mode:
authorLuigi Leonardi <[email protected]>2024-07-30 19:43:08 +0000
committerDavid S. Miller <[email protected]>2024-08-02 08:20:28 +0000
commit18ee44ce97c18ee72f5807140d07ff8cebe3cab5 (patch)
treebed6f1d43b4e565cda910594fac8835701c715f0 /tools/testing/selftests/drivers/net/lib/py/env.py
parentvsock/virtio: add SIOCOUTQ support for all virtio based transports (diff)
downloadkernel-18ee44ce97c18ee72f5807140d07ff8cebe3cab5.tar.gz
kernel-18ee44ce97c18ee72f5807140d07ff8cebe3cab5.zip
test/vsock: add ioctl unsent bytes test
Introduce two tests, one for SOCK_STREAM and one for SOCK_SEQPACKET, which use SIOCOUTQ ioctl to check that the number of unsent bytes is zero after delivering a packet. vsock_connect and vsock_accept are no longer static: this is to create more generic tests, allowing code to be reused for SEQPACKET and STREAM. Signed-off-by: Luigi Leonardi <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/lib/py/env.py')
0 files changed, 0 insertions, 0 deletions