[dpdk-dev] [PATCH v5 6/6] eal/alarm: introduce alarm fini routine

Dmitry Kozlyuk dmitry.kozliuk at gmail.com
Sat Oct 23 01:37:36 CEST 2021


2021-10-23 02:33 (UTC+0300), Dmitry Kozlyuk:
> 2021-10-23 02:19 (UTC+0530), Harman Kalra:
> [...]
> >  /**
> >   * Function is to check if the kernel module(like, vfio, vfio_iommu_type1,
> >   * etc.) loaded.
> > diff --git a/lib/eal/freebsd/eal.c b/lib/eal/freebsd/eal.c
> > index 56a60f13e9..535ea687ca 100644
> > --- a/lib/eal/freebsd/eal.c
> > +++ b/lib/eal/freebsd/eal.c
> > @@ -977,6 +977,7 @@ rte_eal_cleanup(void)
> >  	rte_eal_memory_detach();
> >  	rte_trace_save();
> >  	eal_trace_fini();
> > +	rte_eal_alarm_fini();  
> 
> Alarms are initialized after tracing, so they should be finalized after.

"...finalized before", sorry. 



More information about the dev mailing list