igb_uio: fix legacy MSI masking
authorMarkus Theil <markus.theil@tu-ilmenau.de>
Fri, 13 Oct 2017 16:03:47 +0000 (18:03 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Oct 2017 19:57:48 +0000 (21:57 +0200)
commit6f4600eba9f3d54bbd3474c2022a881bd32c1d16
tree83cdb2622dc94e1c807f43a3156b485aaf8c3071
parenta8ea1e5fb64786065776491cec721b16d100171a
igb_uio: fix legacy MSI masking

MSI masks contain a 1 if interrupt is masked, 0 if unmasked.
I got that wrong with the !!state calculation. For better
readability, the mask is now changed like in igbuio_msi_mask_irq.

Fixes: a8ea1e5fb647 ("igb_uio: fix unknown MSI symbols")

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