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: Maksym Kutsevol <hidden>
Date: 2024-08-28 23:16:44
Also in: lkml

Hey Jakub,

On Wed, Aug 28, 2024 at 6:58 PM Jakub Kicinski [off-list ref] wrote:
On Wed, 28 Aug 2024 14:33:48 -0700 Maksym Kutsevol wrote:
quoted
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.
no need to repost but, quoting documentation:
I definitely didn't find this doc, thanks for the link, looked at it,
and I see at least another error in
this submission - there's no designation which tree it's for, it
should be net-next. Will follow
the doc for in the future.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help