igb_uio: refactor IRQ enable/disable into own functions
authorMarkus Theil <markus.theil@tu-ilmenau.de>
Tue, 5 Sep 2017 12:04:01 +0000 (14:04 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 22:03:03 +0000 (23:03 +0100)
commit0256ec056f56e4946835b1a2eade5702af3a1b7e
tree3f27457e64f023c36396a3577af43dfb590afb17
parent535e850aedd8060ebc7c2c6c779d624a81b3548c
igb_uio: refactor IRQ enable/disable into own functions

Interrupt setup code in igb_uio has to deal with multiple
types of interrupts and kernel versions. This patch moves
the setup and teardown code into own functions, to make
it more readable.

Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
Tested-by: Markus Theil <markus.theil@tu-ilmenau.de>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eal/linuxapp/igb_uio/igb_uio.c