aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorAndrew Lunn <[email protected]>2020-05-10 21:12:37 +0200
committerJakub Kicinski <[email protected]>2020-05-10 12:28:41 -0700
commit1e2dc14509fd072739e4bab98ac42317267dbad6 (patch)
tree47601606f65e997a2e21d35df85908673c3cfff5 /tools/perf/scripts/python/net_dropmonitor.py
parent1dd3f212af30b42c90ba252c165f2f6d2ddf5230 (diff)
net: ethtool: Add helpers for reporting test results
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 v4: s/ENOTSUPP/EOPNOTSUPP/g Signed-off-by: Andrew Lunn <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Reviewed-by: Michal Kubecek <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions