]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Refactor ethtool get_settings
authorCatherine Sullivan <catherine.sullivan@intel.com>
Tue, 3 May 2016 22:13:14 +0000 (15:13 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 7 Jul 2016 17:41:30 +0000 (10:41 -0700)
commit69d50076daf9282d7a7656258dc1262f061fd032
treec29b3acd365cb5c10c9df0cd97831333d9fa0383
parentc519e9afa05be8164bacbde216c6047f58e520aa
i40e: Refactor ethtool get_settings

Orabug: 23176970

Previously we were only looking at the FW supported PHY types if link
was down, because we want to be more specific when link is up. This
refactor changes this. When link is down, we still rely on the FW
supported PHY types, but when link is up, we select the possible
supported link modes from what we know about the current PHY type, and
AND that with the FW supported PHY types.

Change-ID: Ice5dad83f2a17932b0b8b59f07439696ad6aa013
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 06566e5dd4e53f57fc3daa12fb8b5252772d70de)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c