Re: [PATCH net-next v3 07/10] net: ethtool: Add helpers for reporting test results
From: Michal Kubecek <hidden>
Date: 2020-05-10 15:16:59
From: Michal Kubecek <hidden>
Date: 2020-05-10 15:16:59
On Sat, May 09, 2020 at 06:28:48PM +0200, Andrew Lunn wrote:
The PHY drivers can use these helpers for reporting the results. The results get translated into netlink attributes which are added to the pre-allocated skbuf. v3: Poison phydev->skb Return -EMSGSIZE when ethnl_bcastmsg_put() fails Return valid error code when nla_nest_start() fails Use u8 for results Actually put u32 length into message Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Michal Kubecek <redacted>