aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2015-02-24 01:58:43 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-03-03 04:07:25 -0500
commit8f400824345969d18f8d10a0c5b681aa04211842 (patch)
tree454e5d956864c9636bb1bfd97608ac3da3d1ba0e /drivers/net/ethernet
parent579b23d8dc4c9d9a87b58cecc9ffdf326aca7b28 (diff)
i40e: don't disable PF LB when disabling VFs
Since we now have functionality to enable and disable PF loopback at runtime, don't try to do it automatically. Removing this call also gets rid of a bogus error message when removing the PF module with VFs enabled. Change-ID: Ic38652d8a3b9498d96113bfaa5ea7bad050862e9 Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c b/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
index 493335caa276..910c45e83fdd 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c
@@ -832,7 +832,6 @@ void i40e_free_vfs(struct i40e_pf *pf)
832 bit_idx = (hw->func_caps.vf_base_id + vf_id) % 32; 832 bit_idx = (hw->func_caps.vf_base_id + vf_id) % 32;
833 wr32(hw, I40E_GLGEN_VFLRSTAT(reg_idx), (1 << bit_idx)); 833 wr32(hw, I40E_GLGEN_VFLRSTAT(reg_idx), (1 << bit_idx));
834 } 834 }
835 i40e_disable_pf_switch_lb(pf);
836 } else { 835 } else {
837 dev_warn(&pf->pdev->dev, 836 dev_warn(&pf->pdev->dev,
838 "unable to disable SR-IOV because VFs are assigned.\n"); 837 "unable to disable SR-IOV because VFs are assigned.\n");