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 tools/virtio: more stubs 2019-10-11 09:27:27 -04:00
generated virtio/test: fix up after IOTLB changes 2020-04-16 18:31:08 -04:00
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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vhost_test treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
virtio-trace tools/virtio: use canonical ftrace path 2023-06-09 12:08:08 -04:00
xen tools/virtio: xen stub 2019-10-13 09:38:27 -04:00
.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