net/i40e: fix VF Rx interrupt enabling
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Wed, 24 Jan 2018 08:16:50 +0000 (16:16 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Jan 2018 09:04:28 +0000 (10:04 +0100)
commit4ae1d081fb75e045e0c6b9e774647056715cd204
treea81d21f16b53942d091fd26c3304115136a5568e
parent492180e03a2b60ad315faa2b62d8c2cf51370ee6
net/i40e: 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: ae19955e7c86 ("i40evf: support reporting PF reset")
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/i40e/i40e_ethdev_vf.c