Re: [PATCH] io_uring/net: wire up support for sk->sk_prot->uring_cmd() with SOCKET_URING_OP_PASSTHROUGH_FLAG
From: Stefan Metzmacher
Date: Thu Nov 27 2025 - 05:00:48 EST
Am 26.11.25 um 23:19 schrieb Jens Axboe:
On 11/26/25 4:19 AM, Stefan Metzmacher wrote:
This will allow network protocols to implement async operations
instead of using ioctl() syscalls.
By using the high bit there's more than enough room for generic
calls to be added, but also more than enough for protocols to
implement their own specific opcodes.
The IPPROTO_SMBDIRECT socket layer [1] I'm currently working on,
will use this in future in order to let Samba use efficient RDMA offload.
Patch looks fine to me, but I think it needs to be submitted with an
actual user of it too. If not, then it's just unused infrastructure...
[1]
https://git.samba.org/?p=metze/linux/wip.git;a=shortlog;h=refs/heads/master-ipproto-smbdirect
Ok, thanks for the feedback, I'll resubmit once I'm ready to use it.
metze