14/10/2026 18:43, David Marchand:
> Let's warn on interrupt handle that still reference what looks like a
> valid file descriptor.
> 
> This will likely raise false positives, but it should help limiting FD
> leaks on the long term.
[...]
> +     if (rte_intr_fd_get(intr_handle) >= 0)
> +             EAL_LOG(NOTICE, "Some interrupt handle is leaking a FD: %d",
> +                     rte_intr_fd_get(intr_handle));
> +     if (rte_intr_dev_fd_get(intr_handle) >= 0)
> +             EAL_LOG(NOTICE, "Some interrupt handle is leaking a device FD: 
> %d",
> +                     rte_intr_dev_fd_get(intr_handle));

Yes let's check where interrupt FDs are leaked.
The best would be to look for such logs with the -rc1 tests.

Acked-by: Thomas Monjalon <[email protected]>


Reply via email to