]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: un-disable VF after reset
authorMitch Williams <mitch.a.williams@intel.com>
Mon, 27 Apr 2015 18:57:15 +0000 (14:57 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 15 Jul 2015 01:26:42 +0000 (18:26 -0700)
commitfc9695602c0a3aebc8637535e1d8a7cde33361a9
treea41b660bcce4097ad9de37f36aba52add55b25ec
parent9c6bbffe2b229f36233354c351cb22f182765122
i40e: un-disable VF after reset

When a VF is disabled, there is no way for it to recover until either
the PF driver is reloaded or SR-IOV is disabled and enabled. To correct
this, enable the VF after a successful reset.

Change-ID: I9e0788476c4d53d5407961b503febdfff2b8a7c6
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>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c