[Intel-wired-lan] [next PATCH S12 12/15] i40e: add switch for link polling

Bowers, AndrewX andrewx.bowers at intel.com
Wed Sep 9 20:59:56 UTC 2015


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Catherine Sullivan
> Sent: Thursday, August 27, 2015 8:43 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [next PATCH S12 12/15] i40e: add switch for link
> polling
> 
> From: Shannon Nelson <shannon.nelson at intel.com>
> 
> There's been some need for controlling the periodic link polling for
> debugging link issues.  This patch enables switching it off and on through an
> ethtool private flag.  The link poll remains on by default, but can be turned
> off with
> 	ethtool --set-priv-flags p261p1 LinkPolling off and later turned back
> on with
> 	ethtool --set-priv-flags p261p1 LinkPolling on
> 
> To check the current status, use
> 	ethtool --show-priv-flags p261p1
> 
> Signed-off-by: Shannon Nelson <shannon.nelson at intel.com>
> Change-ID: I32e4ab654ff3eec90a06cf144899971b82d71c40
> ---
>  drivers/net/ethernet/intel/i40e/i40e.h         |  2 ++
>  drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 26
> ++++++++++++++++++++++++--
>  drivers/net/ethernet/intel/i40e/i40e_main.c    |  4 +++-
>  3 files changed, 29 insertions(+), 3 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
Code changes present in tree, switch present and functions in ethtool.


More information about the Intel-wired-lan mailing list