ixgbe: fix VFIO interrupt vector
authorCunming Liang <cunming.liang@intel.com>
Fri, 13 Nov 2015 02:50:26 +0000 (10:50 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Nov 2015 13:56:08 +0000 (14:56 +0100)
commit4ba427971a9fab416e207f1acd091b8a66d6d4b6
treecfce24a4dca61ce2109d78d211983ca35613530d
parent4a4ee6c361e7238eb7a1a693deade2be03b1c9eb
ixgbe: fix VFIO interrupt vector

The vector number may change during 'dev_start'. Before enabling a new vector mapping,
it's necessary to disable/unmap the previous setting.

Fixes: 7ab8500037f6 ("ixgbe: fix VF start with PF stopped")

Reported-by: Yong Liu <yong.liu@intel.com>
Signed-off-by: Cunming Liang <cunming.liang@intel.com>
Tested-by: Yong Liu <yong.liu@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c