Bug 2203852

Summary: The fiber module information obtained by ethtool -m is incomplete [rhel-9.0.0.z]
Product: Red Hat Enterprise Linux 9 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: ethtoolAssignee: Ivan Vecera <ivecera>
Status: VERIFIED --- QA Contact: Tianhao <tizhao>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 9.3CC: hwkernel-mgr, ivecera, kzhang, mschmidt, tizhao
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ethtool-5.16-2.el9_0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2193318 Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2193318    
Bug Blocks:    

Comment 6 Tianhao 2023-06-28 13:51:57 UTC
Checked the ethtool-5.16-1.el9 cannot dump complete infomation and using ethtool-5.16-2.el9_0 will dump the same info as using ethtool-6.2-1.el9.
Set VERIFIED. Related output is shown below.

[root@dell-per750-20 ~]# rpm -q ethtool
ethtool-5.16-1.el9.x86_64
[root@dell-per750-20 ~]# ethtool -m ens7f1np1
	Identifier                                : 0x03 (SFP)
	Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
	Connector                                 : 0x07 (LC)
	Transceiver codes                         : 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x02
	Transceiver type                          : Extended: 100G Base-SR4 or 25GBase-SR
	Encoding                                  : 0x06 (64B/66B)
	BR, Nominal                               : 26000MBd
	Rate identifier                           : 0x00 (unspecified)
	Length (SMF,km)                           : 0km
	Length (SMF)                              : 0m
	Length (50um)                             : 0m
	Length (62.5um)                           : 0m
	Length (Copper)                           : 10m
	Length (OM3)                              : 70m
	Laser wavelength                          : 850nm
	Vendor name                               : PRECISION
	Vendor OUI                                : 00:1b:21
	Vendor PN                                 : PRE-SFP25G-SR
	Vendor rev                                : JNPR
	Option values                             : 0x08 0x1a
	Option                                    : RX_LOS implemented
	Option                                    : TX_FAULT implemented
	Option                                    : TX_DISABLE implemented
	Option                                    : Retimer or CDR implemented
	BR margin, max                            : 0%
	BR margin, min                            : 0%
	Vendor SN                                 : INIAU0300494
	Date code                                 : 180606


[root@dell-per750-20 ~]# rpm -q ethtool
ethtool-5.16-2.el9_0.x86_64
[root@dell-per750-20 ~]# ethtool -m ens7f1np1
	Identifier                                : 0x03 (SFP)
	Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
	Connector                                 : 0x07 (LC)
	Transceiver codes                         : 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x02
	Transceiver type                          : Extended: 100G Base-SR4 or 25GBase-SR
	Encoding                                  : 0x06 (64B/66B)
	BR, Nominal                               : 26000MBd
	Rate identifier                           : 0x00 (unspecified)
	Length (SMF,km)                           : 0km
	Length (SMF)                              : 0m
	Length (50um)                             : 0m
	Length (62.5um)                           : 0m
	Length (Copper)                           : 10m
	Length (OM3)                              : 70m
	Laser wavelength                          : 850nm
	Vendor name                               : PRECISION
	Vendor OUI                                : 00:1b:21
	Vendor PN                                 : PRE-SFP25G-SR
	Vendor rev                                : JNPR
	Option values                             : 0x08 0x1a
	Option                                    : RX_LOS implemented
	Option                                    : TX_FAULT implemented
	Option                                    : TX_DISABLE implemented
	Option                                    : Retimer or CDR implemented
	BR margin, max                            : 0%
	BR margin, min                            : 0%
	Vendor SN                                 : INIAU0300494
	Date code                                 : 180606
	Optical diagnostics support               : Yes
	Laser bias current                        : 6.876 mA
	Laser output power                        : 0.8442 mW / -0.74 dBm
	Receiver signal average optical power     : 0.8667 mW / -0.62 dBm
	Module temperature                        : 35.00 degrees C / 94.99 degrees F
	Module voltage                            : 3.3015 V
	Alarm/warning flags implemented           : Yes
	Laser bias current high alarm             : Off
	Laser bias current low alarm              : Off
	Laser bias current high warning           : Off
	Laser bias current low warning            : Off
	Laser output power high alarm             : Off
	Laser output power low alarm              : Off
	Laser output power high warning           : Off
	Laser output power low warning            : Off
	Module temperature high alarm             : Off
	Module temperature low alarm              : Off
	Module temperature high warning           : Off
	Module temperature low warning            : Off
	Module voltage high alarm                 : Off
	Module voltage low alarm                  : Off
	Module voltage high warning               : Off
	Module voltage low warning                : Off
	Laser rx power high alarm                 : Off
	Laser rx power low alarm                  : Off
	Laser rx power high warning               : Off
	Laser rx power low warning                : Off
	Laser bias current high alarm threshold   : 20.000 mA
	Laser bias current low alarm threshold    : 0.500 mA
	Laser bias current high warning threshold : 18.000 mA
	Laser bias current low warning threshold  : 1.000 mA
	Laser output power high alarm threshold   : 2.7542 mW / 4.40 dBm
	Laser output power low alarm threshold    : 0.0912 mW / -10.40 dBm
	Laser output power high warning threshold : 1.7378 mW / 2.40 dBm
	Laser output power low warning threshold  : 0.1445 mW / -8.40 dBm
	Module temperature high alarm threshold   : 80.00 degrees C / 176.00 degrees F
	Module temperature low alarm threshold    : -10.00 degrees C / 14.00 degrees F
	Module temperature high warning threshold : 70.00 degrees C / 158.00 degrees F
	Module temperature low warning threshold  : 0.00 degrees C / 32.00 degrees F
	Module voltage high alarm threshold       : 3.6300 V
	Module voltage low alarm threshold        : 2.9700 V
	Module voltage high warning threshold     : 3.4650 V
	Module voltage low warning threshold      : 3.1350 V
	Laser rx power high alarm threshold       : 2.7542 mW / 4.40 dBm
	Laser rx power low alarm threshold        : 0.0589 mW / -12.30 dBm
	Laser rx power high warning threshold     : 1.7378 mW / 2.40 dBm
	Laser rx power low warning threshold      : 0.0933 mW / -10.30 dBm


[root@dell-per750-20 ~]# rpm -q ethtool
ethtool-6.2-1.el9.x86_64
[root@dell-per750-20 ~]# ethtool -m ens7f1np1
	Identifier                                : 0x03 (SFP)
	Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
	Connector                                 : 0x07 (LC)
	Transceiver codes                         : 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x02
	Transceiver type                          : Extended: 100G Base-SR4 or 25GBase-SR
	Encoding                                  : 0x06 (64B/66B)
	BR, Nominal                               : 26000MBd
	Rate identifier                           : 0x00 (unspecified)
	Length (SMF,km)                           : 0km
	Length (SMF)                              : 0m
	Length (50um)                             : 0m
	Length (62.5um)                           : 0m
	Length (Copper)                           : 10m
	Length (OM3)                              : 70m
	Laser wavelength                          : 850nm
	Vendor name                               : PRECISION
	Vendor OUI                                : 00:1b:21
	Vendor PN                                 : PRE-SFP25G-SR
	Vendor rev                                : JNPR
	Option values                             : 0x08 0x1a
	Option                                    : RX_LOS implemented
	Option                                    : TX_FAULT implemented
	Option                                    : TX_DISABLE implemented
	Option                                    : Retimer or CDR implemented
	BR margin, max                            : 0%
	BR margin, min                            : 0%
	Vendor SN                                 : INIAU0300494
	Date code                                 : 180606
	Optical diagnostics support               : Yes
	Laser bias current                        : 6.876 mA
	Laser output power                        : 0.8415 mW / -0.75 dBm
	Receiver signal average optical power     : 0.8667 mW / -0.62 dBm
	Module temperature                        : 34.79 degrees C / 94.61 degrees F
	Module voltage                            : 3.3003 V
	Alarm/warning flags implemented           : Yes
	Laser bias current high alarm             : Off
	Laser bias current low alarm              : Off
	Laser bias current high warning           : Off
	Laser bias current low warning            : Off
	Laser output power high alarm             : Off
	Laser output power low alarm              : Off
	Laser output power high warning           : Off
	Laser output power low warning            : Off
	Module temperature high alarm             : Off
	Module temperature low alarm              : Off
	Module temperature high warning           : Off
	Module temperature low warning            : Off
	Module voltage high alarm                 : Off
	Module voltage low alarm                  : Off
	Module voltage high warning               : Off
	Module voltage low warning                : Off
	Laser rx power high alarm                 : Off
	Laser rx power low alarm                  : Off
	Laser rx power high warning               : Off
	Laser rx power low warning                : Off
	Laser bias current high alarm threshold   : 20.000 mA
	Laser bias current low alarm threshold    : 0.500 mA
	Laser bias current high warning threshold : 18.000 mA
	Laser bias current low warning threshold  : 1.000 mA
	Laser output power high alarm threshold   : 2.7542 mW / 4.40 dBm
	Laser output power low alarm threshold    : 0.0912 mW / -10.40 dBm
	Laser output power high warning threshold : 1.7378 mW / 2.40 dBm
	Laser output power low warning threshold  : 0.1445 mW / -8.40 dBm
	Module temperature high alarm threshold   : 80.00 degrees C / 176.00 degrees F
	Module temperature low alarm threshold    : -10.00 degrees C / 14.00 degrees F
	Module temperature high warning threshold : 70.00 degrees C / 158.00 degrees F
	Module temperature low warning threshold  : 0.00 degrees C / 32.00 degrees F
	Module voltage high alarm threshold       : 3.6300 V
	Module voltage low alarm threshold        : 2.9700 V
	Module voltage high warning threshold     : 3.4650 V
	Module voltage low warning threshold      : 3.1350 V
	Laser rx power high alarm threshold       : 2.7542 mW / 4.40 dBm
	Laser rx power low alarm threshold        : 0.0589 mW / -12.30 dBm
	Laser rx power high warning threshold     : 1.7378 mW / 2.40 dBm
	Laser rx power low warning threshold      : 0.0933 mW / -10.30 dBm