igb: fix VFIO interrupt vector
authorCunming Liang <cunming.liang@intel.com>
Fri, 13 Nov 2015 02:50:27 +0000 (10:50 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Nov 2015 13:56:07 +0000 (14:56 +0100)
commit4a4ee6c361e7238eb7a1a693deade2be03b1c9eb
tree957feb671d07a32f4d90fdcbe0a0285fc6b0f11f
parent10eb9ce8dccdf800a6665f6391ec937b349c6841
igb: 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: fe685de2b1b6 ("igb: fix VF start with PF stopped")

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