igb_uio: refactor IRQ enable/disable into own functions
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 <8d5584ed2ba091d398f480a39d3375bd5f6b9f38@tu-ilmenau.de>
Tested-by: Markus Theil <8d5584ed2ba091d398f480a39d3375bd5f6b9f38@tu-ilmenau.de>
Acked-by: Ferruh Yigit <ba8734c3c506d2e3557bd4ac8fdaccd25bdb9aa7@intel.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk