diff options
author | 2024-12-02 11:55:07 -0800 | |
---|---|---|
committer | 2024-12-04 19:15:38 -0800 | |
commit | a61b19f4a6586590a9ae6baf2ac4a25a852e547f (patch) | |
tree | ad7b48d126b35a7c93ece51477853a8c32ad700a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | netpoll: Use rtnl_dereference() for npinfo pointer access (diff) | |
download | wireguard-linux-a61b19f4a6586590a9ae6baf2ac4a25a852e547f.tar.xz wireguard-linux-a61b19f4a6586590a9ae6baf2ac4a25a852e547f.zip |
netpoll: Make netpoll_send_udp return status instead of void
netpoll_send_udp can return if send was successful.
It will allow client code to be aware of the send status.
Possible return values are the result of __netpoll_send_skb (cast to int)
and -ENOMEM. This doesn't cover the case when TX was not successful
instantaneously and was scheduled for later, __netpoll__send_skb returns
success in that case.
Signed-off-by: Maksym Kutsevol <max@kutsevol.com>
Link: https://patch.msgid.link/20241202-netcons-add-udp-send-fail-statistics-to-netconsole-v5-1-70e82239f922@kutsevol.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions