[dpdk-dev] [PATCH v6 2/9] interrupts: remove direct access to interrupt handle

David Marchand david.marchand at redhat.com
Mon Oct 25 08:57:33 CEST 2021


On Sun, Oct 24, 2021 at 10:05 PM David Marchand
<david.marchand at redhat.com> wrote:
> @@ -556,8 +565,8 @@ eal_intr_process_interrupts(struct kevent *events, int nfds)
>                                  * remove intr file descriptor from wait list.
>                                  */
>                                 if (kevent(kq, &ke, 1, NULL, 0, NULL) < 0) {
> -                                       RTE_LOG(ERR, EAL, "Error removing fd %d kevent, "
> -                                               "%s\n", src->intr_handle.fd,
> +                                       RTE_LOG(ERR, EAL, "Error removing fd %d kevent, %s\n"
> +                                               rte_intr_fd_get(src->intr_handle),
>                                                 strerror(errno));
>                                         /* removing non-existent even is an expected
>                                          * condition in some circumstances

My fault, missing a ,


-- 
David Marchand.



More information about the dev mailing list