summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/i40e/i40e.h
diff options
context:
space:
mode:
authorFilip Sadowski <filip.sadowski@intel.com>2016-11-09 00:05:13 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-12-07 07:25:13 +0300
commit7ec9ba11b046b4b7fd768c366870ada60d409295 (patch)
tree332e65cfaa65d9419bd0d0398c1dac34cd15c5af /drivers/net/ethernet/intel/i40e/i40e.h
parentd4aea20d889e05575bb331a3dadf176176f7d631 (diff)
downloadlinux-7ec9ba11b046b4b7fd768c366870ada60d409295.tar.xz
i40e: Driver prints log message on link speed change
This patch makes the driver log link speed change. Before applying the patch link messages were printed only on state change. Now message is printed when link is brought up or down and when speed changes. Change-ID: Ifbee14b4b16c24967450b3cecac6e8351dcc8f74 Signed-off-by: Filip Sadowski <filip.sadowski@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e.h')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h
index 4cb8fb3dcb34..06e3c230483f 100644
--- a/drivers/net/ethernet/intel/i40e/i40e.h
+++ b/drivers/net/ethernet/intel/i40e/i40e.h
@@ -596,6 +596,7 @@ struct i40e_vsi {
u16 veb_idx; /* index of VEB parent */
struct kobject *kobj; /* sysfs object */
bool current_isup; /* Sync 'link up' logging */
+ enum i40e_aq_link_speed current_speed; /* Sync link speed logging */
void *priv; /* client driver data reference. */