From: David S. Miller Date: Fri, 22 May 2020 00:18:00 +0000 (-0700) Subject: Merge branch 'provide-KAPI-for-SQI' X-Git-Tag: v5.15~3723^2~143 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a330b533462bea0967e723ff12787daa5a608f8;p=platform%2Fkernel%2Flinux-starfive.git Merge branch 'provide-KAPI-for-SQI' Oleksij Rempel says: ==================== provide KAPI for SQI This patches are extending ethtool netlink interface to export Signal Quality Index (SQI). SQI provided by 100Base-T1 PHYs and can be used for cable diagnostic. Compared to a typical cable tests, this value can be only used after link is established. changes v3: - rename __ethtool_get_sqi* to linkstate_get_sqi*. And move this functions to the net/ethtool/linkstate.c - protect linkstate_get_sqi* with locking changes v2: - use u32 instead of u8 for SQI - add SQI_MAX field and callbacks - some style fixes in the rst. - do not convert index to shifted index. ==================== Signed-off-by: David S. Miller --- 2a330b533462bea0967e723ff12787daa5a608f8