[dpdk-dev] [PATCH] eal/interrupts: add function to allow interruptible epoll
Harman Kalra
hkalra at marvell.com
Wed Jul 15 17:39:52 CEST 2020
On Mon, Jul 13, 2020 at 10:41:33PM -0700, Stephen Hemminger wrote:
> On Wed, 24 Jul 2019 10:20:37 -0700
> Stephen Hemminger <stephen at networkplumber.org> wrote:
>
> > The existing definition of rte_epoll_wait retries if interrupted
> > by a signal. This behavior makes it hard to use rte_epoll_wait
> > for applications that want to use signals do do things like
> > exit polling loop and shutdown.
> >
> > Since changing existing semantic might break applications, add
> > a new rte_epoll_wait_interruptible() function that does the
> > same thing as rte_epoll_wait but will return -1 and errno of EINTR
> > if it receives a signal.
> >
> > Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Reviewed-by: Harman Kalra <hkalra at marvell.com>
Hi Stephen,
I have reviewed and tested the patch, looks good to me.
Can you please rebase the patch to latest tree.
Thanks
Harman
>
> This patch has been sitting unreviewed, uncommented, and unmerged for
> two releases. It seems only patches from HW vendors get the attention.
More information about the dev
mailing list