]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Add support for pipeline reset
authorDon Skidmore <donald.c.skidmore@intel.com>
Wed, 24 Oct 2012 06:19:01 +0000 (06:19 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 30 Oct 2012 05:14:48 +0000 (22:14 -0700)
commit6d2ef5f761c66c5604c0a60d6b1c1ed4b95fb67f
treefe88f22de09a1311f60796b1ab35e68a254dfc5a
parent8703963565cd5fc5ad70ef08e5115ea5b5bab7a4
ixgbe: Add support for pipeline reset

Calling the ixgbe_reset_pipeline_82599 function will ensure a full pipeline
reset on all 82599 devices.  This is necessary to avoid possible link issues.
Since this patch accomplishes this by modifying AUTOC.LMS we need to wrap
all AUTOC writes when LESM is enabled.

v2- fix LMS behaviour based on feedback by Martin Josefsson

CC: Martin Josefsson <gandalf@mjufs.se>
Signed-off-by: Don Skidmore <donald.c.skidmore@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/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c