Re: [dpdk-dev] [PATCH 05/14] eal: intr: cleanup resources

2020-04-26 Thread Stephen Hemminger
On Sat, 25 Apr 2020 18:49:23 +0200 David Marchand wrote: > > > > +void > > +rte_eal_intr_cleanup(void) > > +{ > > + pthread_cancel(intr_thread); > > + pthread_join(intr_thread, NULL); > > + close(intr_pipe.readfd); > > + close(intr_pipe.writefd); > > What happens to the

Re: [dpdk-dev] [PATCH 05/14] eal: intr: cleanup resources

2020-04-25 Thread David Marchand
On Sat, Jan 4, 2020 at 2:34 AM Stephen Hemminger wrote: > > When rte_eal_cleanup is called the interrupt thread and > associated resources should be cleaned up. > > Signed-off-by: Stephen Hemminger > --- > lib/librte_eal/common/eal_private.h | 10 ++ > lib/librte_eal/linux/eal/eal.

[dpdk-dev] [PATCH 05/14] eal: intr: cleanup resources

2020-01-03 Thread Stephen Hemminger
When rte_eal_cleanup is called the interrupt thread and associated resources should be cleaned up. Signed-off-by: Stephen Hemminger --- lib/librte_eal/common/eal_private.h | 10 ++ lib/librte_eal/linux/eal/eal.c| 1 + lib/librte_eal/linux/eal/eal_interrupts.c | 9