net/e1000: fix VF Rx interrupt enabling
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Wed, 24 Jan 2018 08:16:52 +0000 (16:16 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Jan 2018 09:04:28 +0000 (10:04 +0100)
commit61c1f1b7910711922d2c66c9e722d7f1f08eb663
tree86b3b6661900f356796c5000d40523e4e2e8f925
parent8d1f13f96ce3cb4167244f928f6cb9574f561560
net/e1000: 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: 316f4f1adc2e ("net/igb: 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/e1000/igb_ethdev.c