]> 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)
commit80d66de94960032312f2493a0e2646c14e433959
treea80731f6a7509472cf0946f608a897890a3731d8
parentdec8a00a5a11537c7ad78c559ac621f54d18f59b
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