Blame SOURCES/0005-ionic_add_support_for_more_xcvr_types.patch

1632d2
Date: Thu, 18 Jun 2020 19:42:41 -0400
1632d2
From: Jonathan Toppins <jtoppins@redhat.com>
1632d2
To: rhkernel-list@redhat.com
1632d2
Cc: darcari@redhat.com, nhorman@redhat.com, linville@redhat.com
1632d2
Subject: [PATCH RHEL-8.3 06/16] ionic: add support for more xcvr types
1632d2
1632d2
Add a couple more SFP and QSFP transceiver types to our
1632d2
ethtool get link ksettings.
1632d2
1632d2
Signed-off-by: Shannon Nelson <snelson@pensando.io>
1632d2
Signed-off-by: David S. Miller <davem@davemloft.net>
1632d2
(cherry picked from commit cba155d591aa28689332bc568632d2f868690be1)
1632d2
Bugzilla: 1848149
1632d2
Build Info: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=29498383
1632d2
Tested: QE tested devel kernel as well as the partner
1632d2
Signed-off-by: Jonathan Toppins <jtoppins@redhat.com>
1632d2
---
1632d2
 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c | 3 +++
1632d2
 1 file changed, 3 insertions(+)
1632d2
1632d2
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c b/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
1632d2
index 3f9a73aaef61..170e72f31197 100644
1632d2
--- a/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
1632d2
+++ b/drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
1632d2
@@ -159,6 +159,8 @@ static int ionic_get_link_ksettings(struct net_device *netdev,
1632d2
 		ethtool_link_ksettings_add_link_mode(ks, supported,
1632d2
 						     100000baseSR4_Full);
1632d2
 		break;
1632d2
+	case IONIC_XCVR_PID_QSFP_100G_CWDM4:
1632d2
+	case IONIC_XCVR_PID_QSFP_100G_PSM4:
1632d2
 	case IONIC_XCVR_PID_QSFP_100G_LR4:
1632d2
 		ethtool_link_ksettings_add_link_mode(ks, supported,
1632d2
 						     100000baseLR4_ER4_Full);
1632d2
@@ -178,6 +180,7 @@ static int ionic_get_link_ksettings(struct net_device *netdev,
1632d2
 		break;
1632d2
 	case IONIC_XCVR_PID_SFP_25GBASE_SR:
1632d2
 	case IONIC_XCVR_PID_SFP_25GBASE_AOC:
1632d2
+	case IONIC_XCVR_PID_SFP_25GBASE_ACC:
1632d2
 		ethtool_link_ksettings_add_link_mode(ks, supported,
1632d2
 						     25000baseSR_Full);
1632d2
 		break;
1632d2
-- 
1632d2
2.16.4
1632d2
1632d2