]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: make use of i40e_vc_disable_vf
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 22 Aug 2017 10:57:48 +0000 (06:57 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 2 Oct 2017 19:46:35 +0000 (12:46 -0700)
commit7f7c8a86b6ca53a79e3eef3b0ad3af357ed0abf5
treee1834d1477297dfdfd16d1a9a32f66ff5ec40d90
parent2f06987fff143626871047dda3c8be680c647b75
i40e: make use of i40e_vc_disable_vf

Replace i40e_vc_notify_vf_reset and i40e_reset_vf with a call to
i40e_vc_disable_vf which does this exact thing. This matches similar
code patterns throughout the driver.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c