Subject: Re: [PATCH net-next v11 14/14] selftests/net: Add queue leasing tests with netkit

From: Jakub Kicinski <[email-masked]>
Date: Wed, 8 Apr 2026 16:22:38 -0700

On Fri,  3 Apr 2026 01:10:31 +0200 Daniel Borkmann wrote:
> +    ksft_run(
> +        [
> +            test_remove_phys,
> +            test_double_lease,
> +            test_virtual_lessor,
> +            test_phys_lessee,
> +            test_different_lessors,
> +            test_queue_out_of_range,
> +            test_resize_leased,

> +        # test_destroy must be last because it destroys the netkit devices
> +        ksft_run(
> +            [test_iou_zcrx, test_attrs, test_attach_xdp_with_mp, test_destroy],
> +            args=(cfg,),
> +        )
> +    ksft_exit()

ksft_run() can't be called multiple times. 

The first run looks like it's purely testing netdevsim. So that should
move to selftests/net. The rest which tests HW should stay here.
Please also move all the setup inside the test cases.