aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e
diff options
context:
space:
mode:
authorHarshitha Ramamurthy <harshitha.ramamurthy@intel.com>2016-09-06 21:05:06 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-09-24 22:21:43 -0400
commitf2c7c1d09832ef0d6499a9e1a958c3ddc686f723 (patch)
tree058e339661a4ebf0d0c1460a5b705f99a25a2139 /drivers/net/ethernet/intel/i40e
parentc2675de447f8238e7e2e7eced78fa671d42a9a7e (diff)
i40e: Remove 100 Mbps SGMII support for X722
This patch fixes the problem where driver shows 100 Mbps as a supported speed, and allows it to be configured for advertising on X722 devices. This patch fixes the problem by not setting the 100 Mbps SGMII flag for X722 devices. Without this patch, the user incorrectly thinks that 100 Mbps is supported and hence might try to advertise it on X722 devices when it is actually not a supported speed. Change-ID: I8c3d7c4251a9402d98994ed29749b7b895a0f205 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>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index 53cde5b44346..60f082e10c3e 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -8608,7 +8608,6 @@ static int i40e_sw_init(struct i40e_pf *pf)
8608 I40E_FLAG_WB_ON_ITR_CAPABLE | 8608 I40E_FLAG_WB_ON_ITR_CAPABLE |
8609 I40E_FLAG_MULTIPLE_TCP_UDP_RSS_PCTYPE | 8609 I40E_FLAG_MULTIPLE_TCP_UDP_RSS_PCTYPE |
8610 I40E_FLAG_NO_PCI_LINK_CHECK | 8610 I40E_FLAG_NO_PCI_LINK_CHECK |
8611 I40E_FLAG_100M_SGMII_CAPABLE |
8612 I40E_FLAG_USE_SET_LLDP_MIB | 8611 I40E_FLAG_USE_SET_LLDP_MIB |
8613 I40E_FLAG_GENEVE_OFFLOAD_CAPABLE; 8612 I40E_FLAG_GENEVE_OFFLOAD_CAPABLE;
8614 } else if ((pf->hw.aq.api_maj_ver > 1) || 8613 } else if ((pf->hw.aq.api_maj_ver > 1) ||