]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix multiple link up messages
authorMatt Jared <matthew.a.jared@intel.com>
Thu, 27 Aug 2015 15:42:39 +0000 (11:42 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 8 Oct 2015 22:28:18 +0000 (15:28 -0700)
commitdd2fd0d84764eb1a59e8fb0ad777f28831ef59dd
tree3587bd283f45d3051b2723a4626902288beefcf6
parent036421c393f1ebd1f51ade3e366c24ee72188036
i40e: Fix multiple link up messages

This patch addresses an issue where multiple link up messages can be logged
resulting from aq link status timing when link properties are changed (fc,
speed, etc.); solved by using a single function to handle status printing
and adding a mechanism to track whether link state (up or down) has
actually changed.

Change-ID: Ied6ed6e49dc397c77d992adc0bc9ed3767152b9d
Signed-off-by: Matt Jared <matthew.a.jared@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c