Re: [PATCH net-next v6 5/5] tools: virtio: introduce vhost_net_test

2024-03-05 Thread Jason Wang
On Tue, Mar 5, 2024 at 5:47 PM Paolo Abeni wrote: > > On Wed, 2024-02-28 at 17:30 +0800, Yunsheng Lin wrote: > > 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

Re: [PATCH net-next v6 5/5] tools: virtio: introduce vhost_net_test

2024-03-05 Thread Paolo Abeni
On Wed, 2024-02-28 at 17:30 +0800, Yunsheng Lin wrote: > 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

[PATCH net-next v6 5/5] tools: virtio: introduce vhost_net_test

2024-02-28 Thread Yunsheng Lin
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