Thread (21 messages) flat view 21 messages, 4 authors, 2024-08-30

Re: [PATCH v2 1/2] netpoll: Make netpoll_send_udp return status instead of void

From: Breno Leitao <leitao@debian.org>
Date: 2024-08-30 08:46:06
Also in: lkml

On Wed, Aug 28, 2024 at 02:33:48PM -0700, Maksym Kutsevol wrote:
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 <redacted>
Reviewed-by: Breno Leitao <leitao@debian.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help