linux/tools/virtio
Yunsheng Lin c5d3705cfd tools: virtio: introduce vhost_net_test
introduce vhost_net_test for both vhost_net tx and rx basing
on virtio_test to test vhost_net changing in the kernel.

Steps for vhost_net tx testing:
1. Prepare a out buf.
2. Kick the vhost_net to do tx processing.
3. Do the receiving in the tun side.
4. verify the data received by tun is correct.

Steps for vhost_net rx testing:
1. Prepare a in buf.
2. Do the sending in the tun side.
3. Kick the vhost_net to do rx processing.
4. verify the data received by vhost_net is correct.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-03-05 11:38:14 +01:00
..
asm tools/virtio: add barrier for aarch64 2020-12-18 16:14:30 -05:00
crypto
generated
linux tools: virtio: introduce vhost_net_test 2024-03-05 11:38:14 +01:00
ringtest tools/virtio: Add .gitignore for ringtest 2023-06-08 15:43:08 -04:00
uapi/linux
vhost_test
virtio-trace tools/virtio: use canonical ftrace path 2023-06-09 12:08:08 -04:00
xen
.gitignore tools: virtio: introduce vhost_net_test 2024-03-05 11:38:14 +01:00
Makefile tools: virtio: introduce vhost_net_test 2024-03-05 11:38:14 +01:00
vhost_net_test.c tools: virtio: introduce vhost_net_test 2024-03-05 11:38:14 +01:00
virtio_test.c tools/virtio: virtio_test -h,--help should return directly 2023-04-21 03:02:30 -04:00
vringh_test.c tools/virtio: initialize spinlocks in vring_test.c 2022-12-28 05:09:47 -05:00