interrupts: add allocator and accessors
authorHarman Kalra <hkalra@marvell.com>
Fri, 22 Oct 2021 20:49:29 +0000 (02:19 +0530)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 25 Oct 2021 19:20:12 +0000 (21:20 +0200)
commitb7c98429161125bc9c6de70f6bba48f4fe941730
tree5053960cc76e8889e48f2cd08b0a13c67c90dfe0
parent0c8fc83a71f37107ad0b205b2a176fde9188390e
interrupts: add allocator and accessors

Prototype/Implement get set APIs for interrupt handle fields.
User won't be able to access any of the interrupt handle fields
directly while should use these get/set APIs to access/manipulate
them.

Internal interrupt header i.e. rte_eal_interrupt.h is rearranged,
as APIs defined are moved to rte_interrupts.h and epoll specific
definitions are moved to a new header rte_epoll.h.
Later in the series rte_eal_interrupt.h will be removed.

Signed-off-by: Harman Kalra <hkalra@marvell.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
Acked-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
Tested-by: Raslan Darawsheh <rasland@nvidia.com>
MAINTAINERS
lib/eal/common/eal_common_interrupts.c [new file with mode: 0644]
lib/eal/common/meson.build
lib/eal/include/meson.build
lib/eal/include/rte_eal_interrupts.h
lib/eal/include/rte_epoll.h [new file with mode: 0644]
lib/eal/include/rte_interrupts.h
lib/eal/version.map