OSDN Git Service

ice: Rename VF function ice_vc_dis_vf to match its behavior
authorBrett Creeley <brett.creeley@intel.com>
Wed, 9 Oct 2019 14:09:52 +0000 (07:09 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 7 Nov 2019 00:41:45 +0000 (16:41 -0800)
commitff010eca05fae91e23a88a3b6604b88dd9bef7dc
tree5ab9db1f73ccf5d5e70c53fa27fda3827a2a9a72
parent133f4883f9066822a684252f7850cf06db7c10de
ice: Rename VF function ice_vc_dis_vf to match its behavior

ice_vc_dis_vf() tells iavf that it's going to perform a reset
and then performs a software reset. This is misleading based on
the function name because the VF does not get disabled. So fix
this by changing the name to ice_vc_reset_vf().

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c