Thread (13 messages) 13 messages, 5 authors, 2023-06-23

Re: [RFC PATCH v2 1/4] net: wire up support for file_operations->uring_cmd()

From: David Ahern <dsahern@kernel.org>
Date: 2023-06-19 16:13:04
Also in: io-uring, linux-sctp, lkml, mptcp

On 6/19/23 4:20 AM, Breno Leitao wrote:
On Wed, Jun 14, 2023 at 08:15:10AM -0700, David Ahern wrote:
quoted
On 6/14/23 5:07 AM, Breno Leitao wrote:
io_uring is just another in-kernel user of sockets. There is no reason
for io_uring references to be in core net code. It should be using
exposed in-kernel APIs and doing any translation of its op codes in
io_uring/  code.
Thanks for the feedback. If we want to keep the network subsystem
untouched, then I we can do it using an approach similar to the
following. Is this a better approach moving forward?
yes. It keeps the translation from io_uring commands to networking APIs
in one place and does not need to propagate that translation through the
networking code.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help