]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: introduce delay for checking VFLINKS on 82599
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 13 Aug 2014 05:52:13 +0000 (05:52 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 4 Sep 2014 08:38:32 +0000 (01:38 -0700)
commit42ad5994b65abaa01ce17345da52a761790ac8e4
treee2e8ed9adeecda91f88ed418e612e9eabe37225e
parent027fcba80e6a143ea5743e3de56f5999c7a0fe08
ixgbevf: introduce delay for checking VFLINKS on 82599

VFLINKS.LINKUP bit tends to flap when a DA or SFP+ cable is disconnected.
It can take up to 500 usecs for the LINKUP bit to be correct.

This patch resolves the issue by introducing a delay for 82599 VFs of at
least 500 usecs to make sure the VFLINKS value is correct.

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/vf.c