ixgbevf: rewrite watchdog task to function similar to igbvf
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 28 Jan 2015 03:21:29 +0000 (03:21 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Feb 2015 03:58:45 +0000 (19:58 -0800)
commite66c92ad5839ffd0ffd0ac7f7afd622151ef6272
tree4426f92f300dd26c7a9c5692f5e2c99aab36163e
parente08400b707739f0eca1645413924743466ea70b8
ixgbevf: rewrite watchdog task to function similar to igbvf

This patch cleans up the logic dealing with link down/up by breaking down the
link detection and up/down events into separate functions - similar to how these
events are handled in other drivers.

CC: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c