raw/ifpga/base: handle unsupported interrupt type
authorWei Huang <wei.huang@intel.com>
Fri, 23 Oct 2020 08:59:56 +0000 (04:59 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:31:22 +0000 (23:31 +0100)
commit509579206fe07a2d714d5be1ed6f1adc51340be6
treedc09943d95d1cec6c2bb5300a23b9f3b93e59dae
parentdf016da79b59bf48118deab544d4e1829b0eebe1
raw/ifpga/base: handle unsupported interrupt type

Handle unsupported interrupt type requests properly,
on unsupported interrupt case:
'ifpga_unregister_msix_irq()' returns success,
'ifpga_register_msix_irq()' return failure.

Fixes: e0a1aafe2af9 ("raw/ifpga: introduce IRQ functions")
Cc: stable@dpdk.org
Signed-off-by: Wei Huang <wei.huang@intel.com>
Signed-off-by: Tianfei Zhang <tianfei.zhang@intel.com>
Acked-by: Rosen Xu <rosen.xu@intel.com>
drivers/raw/ifpga/ifpga_rawdev.c