On Wed, 27 Nov 2019 15:52:19 +0530 Sunil Kumar Kori <sk...@marvell.com> wrote:
> > +/** > + * @warning > + * @b EXPERIMENTAL: this API may change without prior notice > + * > + * Check if currently executing in interrupt context > + * > + * @return > + * - positive in case of interrupt context > + * - zero in case of process context > + * - negative if unsuccessful > + */ > +__rte_experimental > +int > +rte_thread_is_intr(void); If you only need this in drivers, it should be internal not exposed as part of API