]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Fix for ethtool Supported link modes
authorHarshitha Ramamurthy <harshitha.ramamurthy@intel.com>
Tue, 8 Nov 2016 21:05:09 +0000 (13:05 -0800)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:41:24 +0000 (19:41 -0500)
commit1b06ba785d53ef73f6c8cad3907232864b6fa70e
tree09c9e7c5d269911d0ddaa3a0eed35eda031bb626
parent0cf57fed2282829713ebf89eac50db7fcb79f5ae
i40e: Fix for ethtool Supported link modes

Orabug: 24568124

This patch fixes the problem where the ethtool Supported link
modes list backplane interfaces on X722 devices for 10GbE with
SFP+ and Cortina retimer. This patch fixes the problem by setting
and using a flag for this particular device since the backplane
interface is only between the internal PHY and the retimer and it
should not be seen by the user as they cannot use it.
Without this patch, the user wrongly thinks that backplane interfaces
are supported on their device when they actually are not.

Change-ID: I3882bc2928431d48a2db03a51a713a1f681a79e9
Signed-off-by: Harshitha Ramamurthy <harshitha.ramamurthy@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 4ad9f4f9e2873ca999135b151dbb7d80f57ea0a9)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c