]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix to show correct Advertised Link Modes when link is down
authorAvinash Dayanand <avinash.dayanand@intel.com>
Mon, 20 Jun 2016 16:10:33 +0000 (09:10 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 22 Jul 2016 07:07:03 +0000 (00:07 -0700)
commit8ae17f7b4c1e5026e916fb096e2a2d47524894c5
treea80731f6a7509472cf0946f608a897890a3731d8
parente7fe9aaee2cfb73f8167282564e0bcfd676fe5a9
i40e: Fix to show correct Advertised Link Modes when link is down

When link is down, Advertised Link Modes was wrongly displaying full
supported link modes instead of Advertised link mode. Added conditional
checks in order to make sure correct Advertised link modes are
displayed when the link is down.

Change-ID: I8a61413f9ee174149c7a33157b5f0b0a8da9842d
Signed-off-by: Avinash Dayanand <avinash.dayanand@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_ethtool.c