]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Give link more time after setting flow control
authorCatherine Sullivan <catherine.sullivan@intel.com>
Wed, 9 Jul 2014 07:46:18 +0000 (07:46 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 24 Jul 2014 11:58:53 +0000 (04:58 -0700)
commitd741b934a4922602c64ba2cd23f9634461c4b1f4
treeecb570ae4df58e184b03765dc1ca1df388853899
parent69c09ea443ea7e3d2ed59f0271a6c9fe129e39be
i40e: Give link more time after setting flow control

Give link a little more time to come back up after setting flow control
before resetting. In the new NVMs it is taking longer for link to come back.
This causes the driver to attempt to reset the link, which then errors
because the firmware was already in the middle of a reset. Also, initialize
err to 0.

Change-ID: I1cc987a944e389d8909c262da5796f50722b4d6b
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Jim Young <jmyoungx@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c