eal/linux: add interrupt vectors
authorCunming Liang <cunming.liang@intel.com>
Mon, 20 Jul 2015 03:02:17 +0000 (11:02 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Jul 2015 21:13:56 +0000 (23:13 +0200)
commitd37641029ada07f90a24ec3796cad2b86d02f586
tree6547db51e301f449b2f229f61e10a26a5ac000fa
parente9350774502dd22faf70ac17c0ed298a0ed6990d
eal/linux: add interrupt vectors

The patch adds interrupt vectors support in rte_intr_handle.
'vec_en' is set when interrupt vectors are detected and associated
event fds are set. Those event fds are stored in efds[].
'intr_vec' is reserved for device driver to initialize the vector
mapping table.

Signed-off-by: Danny Zhou <danny.zhou@intel.com>
Signed-off-by: Cunming Liang <cunming.liang@intel.com>
lib/librte_eal/bsdapp/eal/include/exec-env/rte_interrupts.h
lib/librte_eal/linuxapp/eal/include/exec-env/rte_interrupts.h