]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: do a proper reset when disabling a VF
authorMitch Williams <mitch.a.williams@intel.com>
Mon, 27 Apr 2015 18:57:14 +0000 (14:57 -0400)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Fri, 28 Aug 2015 15:11:51 +0000 (08:11 -0700)
commita2e186a909ede9ab8d12062ed74912ca6861ec40
treebcdd2c3a0919e613d0e33f94acd1950a1968281d
parent8d080bd65249bb22fe78d9f451926ae734dbb7ef
i40e: do a proper reset when disabling a VF

Orabug: 21570582

The VF disable code was just whanging on the reset bit without properly
cleaning up the VF, which would leave the VF in an indeterminate state
from which it could not recover. Fix this by notifying the VF and then
by calling the normal VF reset routine.

Change-ID: I862b9dfa919368773cbdc212b805b520db2f7430
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 54f455eeb56c0ab92db87bed6bd767d206d9e743)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c