ice: re-order ice_mbx_reset_snapshot function
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 22 Feb 2023 17:09:07 +0000 (09:09 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 13 Mar 2023 17:32:31 +0000 (10:32 -0700)
commit504ce971f260c178fa625f1278d9a762bc366504
treeed1b443c1a75b4ed050db80d9f4883a016fd10d2
parent95b744508d4d5135ae2a096ff3f0ee882bcc52b3
ice: re-order ice_mbx_reset_snapshot function

A future change is going to refactor the VF mailbox overflow detection
logic, including modifying ice_mbx_reset_snapshot and its callers. To make
this change easier to review, first move the ice_mbx_reset_snapshot
function higher in the ice_vf_mbx.c file.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Tested-by: Marek Szlosek <marek.szlosek@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_vf_mbx.c