Re: [PATCH net-next v7 5/6] selftest: tun: Add tests for virtio-net hashing

2025-03-03 Thread Jakub Kicinski
On Mon, 3 Mar 2025 15:20:33 +0900 Akihiko Odaki wrote: > > # 5.90 [+0.00] ok 14 tun_vnet_hash.unclassified > > # 5.90 [+0.00] # RUN tun_vnet_hash.ipv4 ... > > # 6.18 [+0.28] # tun.c:669:ipv4:Expected 0 (0) != > > tun_vnet_hash_check(self->source_fd, self->dest_fds, &packet, > > sizeof(

Re: [PATCH net-next v7 5/6] selftest: tun: Add tests for virtio-net hashing

2025-03-02 Thread Akihiko Odaki
On 2025/02/28 23:29, Jakub Kicinski wrote: On Fri, 28 Feb 2025 16:58:51 +0900 Akihiko Odaki wrote: The added tests confirm tun can perform RSS and hash reporting, and reject invalid configurations for them. The tests may benefit from using FIXTURE_VARIANT(), up to you. I took a look at it af

Re: [PATCH net-next v7 5/6] selftest: tun: Add tests for virtio-net hashing

2025-02-28 Thread Jakub Kicinski
On Fri, 28 Feb 2025 16:58:51 +0900 Akihiko Odaki wrote: > The added tests confirm tun can perform RSS and hash reporting, and > reject invalid configurations for them. The tests may benefit from using FIXTURE_VARIANT(), up to you. The IPv4 tests fail reliably on a VM with a debug kernel (kernel/c

[PATCH net-next v7 5/6] selftest: tun: Add tests for virtio-net hashing

2025-02-28 Thread Akihiko Odaki
The added tests confirm tun can perform RSS and hash reporting, and reject invalid configurations for them. Signed-off-by: Akihiko Odaki --- tools/testing/selftests/net/Makefile | 2 +- tools/testing/selftests/net/tun.c| 555 ++- 2 files changed, 548 inserti