Skip to content

Commit 1aa874b

Browse files
gsiwikJeff Kirsher
authored andcommitted
i40e: Fix the typo in adding 40GE KR4 mode
This patch fixes the typo in I40E_CAP_PHY_TYPE mode link code. It was fixed by changing 40000baseLR4_Full to 40000baseKR4_Full Signed-off-by: Grzegorz Siwik <grzegorz.siwik@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
1 parent 40a2304 commit 1aa874b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/net/ethernet/intel/i40e/i40e_ethtool.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,9 +549,9 @@ static void i40e_phy_type_to_ethtool(struct i40e_pf *pf,
549549
}
550550
if (phy_types & I40E_CAP_PHY_TYPE_40GBASE_KR4) {
551551
ethtool_link_ksettings_add_link_mode(ks, supported,
552-
40000baseLR4_Full);
552+
40000baseKR4_Full);
553553
ethtool_link_ksettings_add_link_mode(ks, advertising,
554-
40000baseLR4_Full);
554+
40000baseKR4_Full);
555555
}
556556
if (phy_types & I40E_CAP_PHY_TYPE_20GBASE_KR2) {
557557
ethtool_link_ksettings_add_link_mode(ks, supported,

0 commit comments

Comments
 (0)