Re: [PATCH net-next v2 06/10] net: ethtool: Add infrastructure for reporting cable test results
From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2020-05-05 03:22:01
From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2020-05-05 03:22:01
On 5/4/2020 5:18 PM, Andrew Lunn wrote:
Provide infrastructure for PHY drivers to report the cable test results. A netlink skb is associated to the phydev. Helpers will be added which can add results to this skb. Once the test has finished the results are sent to user space. When netlink ethtool is not part of the kernel configuration stubs are provided. It is also impossible to trigger a cable test, so the error code returned by the alloc function is of no consequence. v2: Include the status complete in the netlink notification message Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> -- Florian