eal/bsd: add interrupt thread
authorAnatoly Burakov <anatoly.burakov@intel.com>
Tue, 26 Jun 2018 10:53:14 +0000 (11:53 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Jul 2018 10:40:36 +0000 (12:40 +0200)
commit23150bd8d8a89452b8c424d7dc9f840620a5fe96
treeb56c1acf03dca39c17dfe429d8fa87b04357d132
parent4bb69970afd7dd819d5c70f423bac48efe81739c
eal/bsd: add interrupt thread

Add interrupt thread to FreeBSD. It is largely a copy-paste from
Linuxapp interrupt thread, except for a few key differences:

* Use kevent instead of epoll
* Do not recreate the event queue on adding/removing interrupt
  sources, add/remove them to/from the queue on the fly instead
* No support for UIO/VFIO handles

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/bsdapp/eal/eal_interrupts.c