]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: enable LSE poke and simplify link state
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Sat, 13 Sep 2014 07:40:42 +0000 (07:40 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 24 Oct 2014 03:38:02 +0000 (20:38 -0700)
commit72da5cf3c7f937275f0869cba3b86844b1fbc9fd
tree025e3c105c31e48167f6df53b61100d9af9a5c96
parent6e32eb4b7606d46613788a42102bbc4b38113c58
i40e: enable LSE poke and simplify link state

The driver can do a simpler job of managing link state by simply
using the admin queue receive event for link events as a doorbell
that tells the driver to update link state.

Additionally, add a workaround will help make sure the link state in the
hardware is consistent with the link state the driver is reporting
by refreshing the link state every service task interval.

Change-ID: Ib95b5b7b8cc016e97d8009f6363c9f9eed301444
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c