Re: [PATCH net-next v3 07/10] net: ethtool: Add helpers for reporting test results

2020-05-10 Thread Michal Kubecek
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

[PATCH net-next v3 07/10] net: ethtool: Add helpers for reporting test results

2020-05-09 Thread Andrew Lunn
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 res