diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2020-05-14 21:42:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-15 11:03:03 -0700 |
commit | ca1c933bcee9393d8a83c6be1093471e0c3b655d (patch) | |
tree | ea219d0a20f6dff69e7946dcf62065a70b4b22bb /include/net/mptcp.h | |
parent | b0ed0bbfb3046ed127f6004b5893ccb6cdd9ba90 (diff) |
net: phy: tja11xx: execute cable test on link up
A typical 100Base-T1 link should be always connected. If the link is in
a shot or open state, it is a failure. In most cases, we won't be able
to automatically handle this issue, but we need to log it or notify user
(if possible).
With this patch, the cable will be tested on "ip l s dev .. up" attempt
and send ethnl notification to the user space.
This patch was tested with TJA1102 PHY and "ethtool --monitor" command.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/mptcp.h')
0 files changed, 0 insertions, 0 deletions