ice: Refactor link event flow
authorBrett Creeley <brett.creeley@intel.com>
Thu, 28 Feb 2019 23:26:01 +0000 (15:26 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 2 May 2019 08:27:11 +0000 (01:27 -0700)
commitc2a23e00613bde4a6d5f88c2b4facd5c7be6be87
treee7e2f7b607076e9f5fa642a6a51a7ae433eed68d
parent49a6a5d7ebfbf99ea5ba8fa4d55a29b7a446cbae
ice: Refactor link event flow

Currently the link event flow works, but can be much better.
Refactor the link event flow to make it cleaner and more clear
on what is going on.

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@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.h
drivers/net/ethernet/intel/ice/ice_main.c