From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 261F03446C8 for ; Wed, 26 Nov 2025 22:19:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764195545; cv=none; b=Rb/MBxIm7F+TbMvYEvDhdAaRa1aPyW6GB3aGO1PbXYCNYz10YfzUj3xnHeDJPeOEkMUvPVaNian3LFxm3Fl9LwTqTNAx6CFgpWybfOiscUSSD0IXvSVinEmZ1ASnRyPxEdcLiMoZz+e6mCRMGyaZfIMHXN4N0OV3tD5KPQZAYD8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764195545; c=relaxed/simple; bh=sIWbRcx7sC05bYi/YIY2zR/NKUvh0KWELOSEGo3Hfzw=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nFmDi/3IFdJTfsH0nIzsTiNA5UMf+6ggAp35I4mbTIVuRgdd4et0/kYEZbS3MKRn7lviIjrN1u6UFqqzl5akh9eTT465udQDw9bJ2HRfVdi5zQFP6CcjwTrWw0Sac4sj8X9L+hLfAfHyzw2kMj84OGbPFbOcrlBjav9GL7UKkJ4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=Ceh0248k; arc=none smtp.client-ip=209.85.166.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="Ceh0248k" Received: by mail-io1-f51.google.com with SMTP id ca18e2360f4ac-94964256caaso10486839f.3 for ; Wed, 26 Nov 2025 14:19:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1764195542; x=1764800342; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=1wowXlow3FMc8/tNrN2yLigPPDUDtx0JGtrYUEW5hUk=; b=Ceh0248kyaTc90MipJKQFJgX3pPuS4aCyr7FKFyuiJzy3OQ/nOTtsx4lt5ihaAC9Jf wAT2Q6NI1gM6Oe9YzpFy1mCOAbkJ0fQKQerimlqRWQRutwNWAvyCJI6vn+tfrP23Uy+k qIutfsaaHsQ8qoU/9dqZE/Y9eSb16YwGVPjVgqEyzZWUHY9ElHelTOxsrCwiO9qlYOpB Wp2O43aKUDOL0CaR0d5pgOfUYklhoKpoivCoYqr6bCusqZCPvTaAxRDdumWMNf2YJaHK rKIhcr45r7JnISjXQxWENBcHmMnuTI0TxuapbThn+Hc9e4VP7M4F4mFpdqbHIipsHI5O sSOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764195542; x=1764800342; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1wowXlow3FMc8/tNrN2yLigPPDUDtx0JGtrYUEW5hUk=; b=EBtwfF2KXCgRHwJFwzH9gXcQ58QeYm2EHBFNeloqX+76H65IlqV9eev9bTM3Pe2vVO snBfJ6kAhezRlNVrlG66M3EScbcNfZsfMZHtAbZOGwmUbi0F0ERKb7iXpd7whLalvD6S CH3HxdHbg/tJk5IpMRIi8a3S6lzOJDmViLtbDxSbtqLG20JxmtHr/82wOvUQk8JZ36hB J9YUAuXrDV1K55C/1o058V6idU2d6D1F93cyFeuqeAkiZdUbrDxC1IAYls61/YGbw9zE QkYmNeqkEQujq36yuvm//UlTozk1vk36psyUoD4HlEwqay3vJeiHHbdLO3xZeYPSlHdG g/ZA== X-Forwarded-Encrypted: i=1; AJvYcCWLCl2xrFRlaH2xcrNGH28gWZdgbaR3HBh8TficF8nv7rkWQH21Ce02wTmOrcHGE2ql9F7rgdLe2BGdrXI=@vger.kernel.org X-Gm-Message-State: AOJu0YyNk0DUtBYzFVor0/7hjtTRaCrQBs4ResFDzXbbqgUUZWUQBrY5 QaNULLIGL2nyWYZAh6o/yZ4n66WD4bRBRYN7LchgXvfwoaD36WR4SEuqxA+XncQ0TwI= X-Gm-Gg: ASbGncuDRcycn+gfW6Jk+P9QN66KQGvdo60u/uPKAGePsOxL+a78qgRs9i7AhkKQk1q mwLPqYwaItXZ+DkstvY6NbcqvY372OXw9pkWhUmEMrRk8rIT7pSmqKdzQNCen6kokqV7hhvuFx+ KKBIUPCVBcRLAtPsNXiGH8XoAsAXzHb8Hk0qyP9dGs0iINtVCGKXnA6c+SQbpyLRmbORKYSkFrU tp/aOj7BeOZxmOyJR4715BEn/psDDDUpqGWBFtPOgHpsuoMU08wi4HPNlmHFpPGngdakFgmspCx f+boIYkyXjgPko95WnRRQY85Lq3xmgk0jj+we6M5l6CzOahfEgwK+uxGdA0lPWyVGwDppl0Pke7 2KEuhraanX+r7ziVz5xQSnAhrroH9Kj9mr3OPo4LIbcDpJu0AcCoXkPyRIIb3gwSdg9HfNVlwRd LqcU2xFOzc8uwoD+zK X-Google-Smtp-Source: AGHT+IGxkxc8fCZt/xF4NNM9fIWKpLzM300DpmX1FeSS/Z4JaygfyFk1znrns1dtxauVsXPqqT3cZQ== X-Received: by 2002:a05:6602:26c9:b0:948:81a5:7ac9 with SMTP id ca18e2360f4ac-94948b3d514mr1644646239f.18.1764195542254; Wed, 26 Nov 2025 14:19:02 -0800 (PST) Received: from [192.168.1.99] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id ca18e2360f4ac-94938651ce7sm811919039f.10.2025.11.26.14.19.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Nov 2025 14:19:01 -0800 (PST) Message-ID: <46280bc6-0db9-4526-aa7d-3e1143c33303@kernel.dk> Date: Wed, 26 Nov 2025 15:19:00 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] io_uring/net: wire up support for sk->sk_prot->uring_cmd() with SOCKET_URING_OP_PASSTHROUGH_FLAG To: Stefan Metzmacher , io-uring@vger.kernel.org Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Kuniyuki Iwashima , Willem de Bruijn , netdev@vger.kernel.org, linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org References: <20251126111931.1788970-1-metze@samba.org> Content-Language: en-US From: Jens Axboe In-Reply-To: <20251126111931.1788970-1-metze@samba.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 This looks interesting, however! -- Jens Axboe