aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e
diff options
context:
space:
mode:
authorManfred Rudigier <manfred.rudigier@omicronenergy.com>2019-08-15 13:55:20 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-11-01 13:20:00 -0700
commit8d5cfd7f76a2414e23c74bb8858af7540365d985 (patch)
tree993360e50d545123a85d03e12512fee3bdd48bd6 /drivers/net/ethernet/intel/i40e
parentigb: Enable media autosense for the i350. (diff)
downloadlinux-dev-8d5cfd7f76a2414e23c74bb8858af7540365d985.tar.xz
linux-dev-8d5cfd7f76a2414e23c74bb8858af7540365d985.zip
igb: Fix constant media auto sense switching when no cable is connected
At least on the i350 there is an annoying behavior that is maybe also present on 82580 devices, but was probably not noticed yet as MAS is not widely used. If no cable is connected on both fiber/copper ports the media auto sense code will constantly swap between them as part of the watchdog task and produce many unnecessary kernel log messages. The swap code responsible for this behavior (switching to fiber) should not be executed if the current media type is copper and there is no signal detected on the fiber port. In this case we can safely wait until the AUTOSENSE_EN bit is cleared. Signed-off-by: Manfred Rudigier <manfred.rudigier@omicronenergy.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e')
0 files changed, 0 insertions, 0 deletions