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)
commit1e701e09d898834ee808cd3af7c4ff46348d4f61
tree025e3c105c31e48167f6df53b61100d9af9a5c96
parent7e2453fee88f8c326a2df9fcee1f05767d8a709a
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