diff mbox series

[V2,ethtool-next,2/2] netlink: settings: add two link extended substates of bad signal integrity

Message ID 1629877513-23501-3-git-send-email-huangguangbin2@huawei.com
State New
Headers show
Series [V2,ethtool-next,1/2] update UAPI header copies | expand

Commit Message

huangguangbin (A) Aug. 25, 2021, 7:45 a.m. UTC
Add two link extended substates of bad signal integrity available in the
kernel.

ETHTOOL_LINK_EXT_SUBSTATE_BSI_SERDES_REFERENCE_CLOCK_LOST means the input
external clock signal for SerDes is too weak or lost.

ETHTOOL_LINK_EXT_SUBSTATE_BSI_SERDES_ALOS means the received signal for
SerDes is too weak because analog loss of signal.

Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
---
 netlink/settings.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Michal Kubecek Aug. 26, 2021, 9:34 a.m. UTC | #1
On Wed, Aug 25, 2021 at 03:45:13PM +0800, Guangbin Huang wrote:
> Add two link extended substates of bad signal integrity available in the

> kernel.

> 

> ETHTOOL_LINK_EXT_SUBSTATE_BSI_SERDES_REFERENCE_CLOCK_LOST means the input

> external clock signal for SerDes is too weak or lost.

> 

> ETHTOOL_LINK_EXT_SUBSTATE_BSI_SERDES_ALOS means the received signal for

> SerDes is too weak because analog loss of signal.

> 

> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>


Applied, thank you.

Michal
diff mbox series

Patch

diff --git a/netlink/settings.c b/netlink/settings.c
index e47a38f3058f..6d10a0703861 100644
--- a/netlink/settings.c
+++ b/netlink/settings.c
@@ -639,6 +639,10 @@  static const char *const names_bad_signal_integrity_link_ext_substate[] = {
 		"Large number of physical errors",
 	[ETHTOOL_LINK_EXT_SUBSTATE_BSI_UNSUPPORTED_RATE]		=
 		"Unsupported rate",
+	[ETHTOOL_LINK_EXT_SUBSTATE_BSI_SERDES_REFERENCE_CLOCK_LOST]	=
+		"Serdes reference clock lost",
+	[ETHTOOL_LINK_EXT_SUBSTATE_BSI_SERDES_ALOS]			=
+		"Serdes ALOS",
 };
 
 static const char *const names_cable_issue_link_ext_substate[] = {