net/ixgbe: fix VF Rx interrupt enabling
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Wed, 24 Jan 2018 08:16:51 +0000 (16:16 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Jan 2018 09:04:28 +0000 (10:04 +0100)
commit8d1f13f96ce3cb4167244f928f6cb9574f561560
treecf680131aabe3a14ab393d4e0c2f6eada0e21881
parent4ae1d081fb75e045e0c6b9e774647056715cd204
net/ixgbe: fix VF Rx interrupt enabling

When using UIO, after enabling the interrupt to get the PF
message, VF RX queue interrupt is not working.
It's expected, as UIO doesn't support multiple interrupt.
So, PMD should not try to enable RX queue interrupt. Then
APP can know the RX queue interrupt is not enabled and only
choose the polling mode.

Fixes: 77234603fba0 ("net/ixgbe: support VF mailbox interrupt for link up/down")
CC: stable@dpdk.org
Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c