Thread (7 messages) 7 messages, 2 authors, 2024-09-13

Re: [PATCH net-next v3 1/2] netpoll: Make netpoll_send_udp return status instead of void

From: Breno Leitao <leitao@debian.org>
Date: 2024-09-13 14:35:52
Also in: lkml

On Thu, Sep 12, 2024 at 10:28:51AM -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>

Thanks for addressing it. Two things you might want to consider:

1) There are some warnings related to this patch.
 a) Not CCed maintainers
 b) WARNING: line length of 95 exceeds 80 columns

You can see them here:
https://patchwork.kernel.org/project/netdevbpf/patch/20240912173608.1821083-2-max@kutsevol.com/

Also, this might conflict with the refactor I did a while ago, so, you
might need to rebase:

https://lore.kernel.org/all/20240910100410.2690012-1-leitao@debian.org/ (local)

Other than that, I am happy with it.

Thanks for doing it
-breno
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help