Re: [PATCH 0/5] add initial io_uring_cmd support for sockets
Willem de Bruijn <[email protected]>
| Newsgroups | org.kernel.vger.dccp,dev.linux.lists.mptcp,org.kernel.vger.io-uring,org.kernel.vger.linux-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <CA+FuTSeKpOJVqcneCoh_4x4OuK1iE0Tr6f3rSNrQiR-OUgjWow@mail.gmail.com> |
On Thu, Apr 6, 2023 at 10:45 AM Breno Leitao <[email protected]> wrote: > > From: Breno Leitao <[email protected]> > > This patchset creates the initial plumbing for a io_uring command for > sockets. > > For now, create two uring commands for sockets, SOCKET_URING_OP_SIOCOUTQ > and SOCKET_URING_OP_SIOCINQ. They are similar to ioctl operations > SIOCOUTQ and SIOCINQ. In fact, the code on the protocol side itself is > heavily based on the ioctl operations. This duplicates all the existing ioctl logic of each protocol. Can this just call the existing proto_ops.ioctl internally and translate from/to io_uring format as needed?