]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve detection of extended QSFP diagnostics.
authorhselasky <hselasky@FreeBSD.org>
Tue, 15 Mar 2016 15:24:55 +0000 (15:24 +0000)
committerhselasky <hselasky@FreeBSD.org>
Tue, 15 Mar 2016 15:24:55 +0000 (15:24 +0000)
commit6c29569229222107dbd33d774b06411ea5e41d5e
treedc2c33f6a44a4a4bdfb389072568be0527911202
parent35e1f10d38e3f8453d7d72399af85aa8b9237233
Improve detection of extended QSFP diagnostics.

The standards in the QSFP diagnostics area are not clear when the
additional measurements are present or not. Use a valid temperature
reading as an indicator for the presence of voltage and TX/RX power
measurements.

MFC after: 1 week
Sponsored by: Mellanox Technologies
Tested by: Netflix
Differential Revision: https://reviews.freebsd.org/D5391
Reviewed by: gallatin
sbin/ifconfig/sfp.c