ixgbe: show <2% for encoding loss on PCIe Gen3
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 18 Oct 2013 05:09:19 +0000 (05:09 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 29 Oct 2013 10:38:26 +0000 (03:38 -0700)
commit9f0a433ce69d63ae2c45ef801b9b1d8967165350
tree15c0cee830b0012dd75b29be902b8b0f5f61239c
parent27d9ce4fd0e2e75c2907f6d3dc0487012a3e4298
ixgbe: show <2% for encoding loss on PCIe Gen3

This patch updates the ixgbe_check_minimum_link function to correctly show that
there is some minor loss of encoding, even though we don't calculate it in the
max GT/s equation. It is small enough to not bother, but is better to report it
than not.

Signed-off-by: Jacob Keller <jacob.e.keller@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_main.c