Re: [dpdk-dev] [PATCH v2 1/4] eal: add API to check if its interrupt context

2019-11-27 Thread Stephen Hemminger
On Wed, 27 Nov 2019 15:52:19 +0530 Sunil Kumar Kori 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 ca

[dpdk-dev] [PATCH v2 1/4] eal: add API to check if its interrupt context

2019-11-27 Thread Sunil Kumar Kori
Added an API to check if current execution is in interrupt context. This will be helpful to handle nested interrupt cases. Signed-off-by: Harman Kalra Signed-off-by: Sunil Kumar Kori --- v2: - Rebased patch on 19.11-rc4 lib/librte_eal/common/include/rte_interrupts.h | 15 +++ lib/