kernel_samsung_a53x/net/ethtool
Oleksij Rempel 20d4382a80 ethtool: netlink: do not return SQI value if link is down
[ Upstream commit c184cf94e73b04ff7048d045f5413899bc664788 ]

Do not attach SQI value if link is down. "SQI values are only valid if
link-up condition is present" per OpenAlliance specification of
100Base-T1 Interoperability Test suite [1]. The same rule would apply
for other link types.

[1] https://opensig.org/automotive-ethernet-specifications/#

Fixes: 806602191592 ("ethtool: provide UAPI for PHY Signal Quality Index (SQI)")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Woojung Huh <woojung.huh@microchip.com>
Link: https://patch.msgid.link/20240709061943.729381-1-o.rempel@pengutronix.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:43 +01:00
..
bitset.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bitset.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cabletest.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
channels.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
coalesce.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
common.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debug.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
eee.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
features.c ethtool: netlink: Add missing ethnl_ops_begin/complete 2024-11-18 12:12:51 +01:00
ioctl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
linkinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
linkmodes.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
linkstate.c ethtool: netlink: do not return SQI value if link is down 2024-11-19 14:19:43 +01:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netlink.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
netlink.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pause.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
privflags.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rings.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
strset.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tsinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tunnels.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
wol.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00