eal: check if running in interrupt context
authorHarman Kalra <hkalra@marvell.com>
Tue, 14 Jan 2020 09:04:52 +0000 (14:34 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 6 Feb 2020 15:35:40 +0000 (16:35 +0100)
commit9058afaa26f7f39c179fbfeb3c6ce5929890f322
treef8cb5a1e31ed98515f35047af2ea1c7cfe3eb1c2
parent247a38c52056f3255da357fc6501a1eec414aa23
eal: check if running in interrupt context

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 <hkalra@marvell.com>
Signed-off-by: Sunil Kumar Kori <skori@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
lib/librte_eal/common/include/rte_eal_interrupts.h
lib/librte_eal/freebsd/eal/eal_interrupts.c
lib/librte_eal/linux/eal/eal_interrupts.c
lib/librte_eal/rte_eal_version.map