Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F0EC1AA61 for ; Wed, 26 Jul 2023 16:44:25 +0000 (UTC) Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 049832712 for ; Wed, 26 Jul 2023 09:44:18 -0700 (PDT) Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-7748ca56133so63490939f.0 for ; Wed, 26 Jul 2023 09:44:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20221208.gappssmtp.com; s=20221208; t=1690389857; x=1690994657; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2MvAgiSRmmqjQuNSTvLvzhCp2dGR6DqVK9AaLsBcxns=; b=ns+rOP5oX61phHnuBj++0wNoZJ7yKblh7Wh8NOL+Rb+Hm9ygQ2X5LFW319K/8SjQ0/ wa+7wnnDVEwblxlo/uZYR0ddHibvcRB7mhqKN4ohDjiKlh4B7yS5BjEE5Cn0KBXGAGfO IqYz5UIGcioEORU69Hw9anTYRiZyXps0Hz32gOprLY2L1uKrkEevL5RZDhF16lwQw5Qe FPMQlxtH1yL0xJbyZ0+AeZ6IpR42n8w7P6BTcXt5rCNJTPPAqRuPDEjfWk+6UOAqKLHY R39IsO5dxwaDheXaBsbsISB2vlgCiOX+pLJTZ318pwraW/RYPu3mnUaBGm6mJhv6DuCA fbmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690389857; x=1690994657; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2MvAgiSRmmqjQuNSTvLvzhCp2dGR6DqVK9AaLsBcxns=; b=GLaoZexAfCL7ojw3M3pJkEr7WreSbC+oyMHoTHxwWA0BVaRPdirywgy6mfRWTacgrg AGUQHBRSom/AFJwRaw07HBN+Bx7jn8vf9oXdGyi1k//XiRovBBYymtzQsgFYioelWJwM GfyBC5+Gq8kD+NxMAz+I+kBq9XWG3ELraq/pi5t5wXiMBwgRMUuVq4sbytA1R1mUHKgl 1wP+GjVB4OaXotgM4y1bABBepdMsuLBNl/uRR2yGt/2cqN/N3Hn8Vg0rq2OIueqVxmR3 Ea4zLDgmHcRKBFVWM1igl4VvuwzoMb5uzOfgOnAi1NZhvCmnvwhicAjC5LQVYqratVZJ 6wIw== X-Gm-Message-State: ABy/qLZs/9aN0f7HkXkE0INuSUt0eikpALVkFqMDD1ci5oGYgMH2V2wb oE0U/ig0uevmN8o6sFG3WqkECA== X-Google-Smtp-Source: APBJJlEB91rbYnaP2LHDb57KP3z2y30FE7fZyyItopmcLqEzRiw5IPgPfIAPfJ8Y6oZpET8xjhHYSQ== X-Received: by 2002:a6b:1446:0:b0:77a:ee79:652 with SMTP id 67-20020a6b1446000000b0077aee790652mr2185498iou.1.1690389857420; Wed, 26 Jul 2023 09:44:17 -0700 (PDT) Received: from [127.0.0.1] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id n4-20020a6bed04000000b00786fe5039b8sm4792120iog.46.2023.07.26.09.44.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 09:44:16 -0700 (PDT) From: Jens Axboe To: Pavel Begunkov , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Breno Leitao Cc: gregkh@linuxfoundation.org, kuniyu@amazon.com, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org In-Reply-To: <20230627134424.2784797-1-leitao@debian.org> References: <20230627134424.2784797-1-leitao@debian.org> Subject: Re: [PATCH v4] io_uring: Add io_uring command support for sockets Message-Id: <169038985660.932464.4047750126367212263.b4-ty@kernel.dk> Date: Wed, 26 Jul 2023 10:44:16 -0600 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-099c9 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net On Tue, 27 Jun 2023 06:44:24 -0700, Breno Leitao wrote: > Enable io_uring commands on network sockets. Create two new > SOCKET_URING_OP commands that will operate on sockets. > > In order to call ioctl on sockets, use the file_operations->io_uring_cmd > callbacks, and map it to a uring socket function, which handles the > SOCKET_URING_OP accordingly, and calls socket ioctls. > > [...] Applied, thanks! [1/1] io_uring: Add io_uring command support for sockets commit: 95ba83afd0968d4699054e613033d1cefb295845 Best regards, -- Jens Axboe