From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 914CBCDB465 for ; Thu, 19 Oct 2023 14:59:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345960AbjJSO7I (ORCPT ); Thu, 19 Oct 2023 10:59:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346150AbjJSO7E (ORCPT ); Thu, 19 Oct 2023 10:59:04 -0400 Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77FA2121 for ; Thu, 19 Oct 2023 07:59:01 -0700 (PDT) Received: by mail-il1-x12b.google.com with SMTP id e9e14a558f8ab-3575732df7fso5210225ab.0 for ; Thu, 19 Oct 2023 07:59:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1697727541; x=1698332341; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=H+fSKfoprD2xjep9haqaGcjsUyuDzAiaP8KcDuihTMA=; b=sUoD+aIcaveSUSQ0/cmDczMrbov3C1nT/mruXdO99rQ/odOehiiDEv6Z/HozS/9CPm Db6jo18+L18LikJf9G5Y8x1BXOo6bbBEbWvqIePhegMNknQfDWgqgNnHUkPW1nKqM0vu BaYMN96YJamvXWEfHQ5jxN/Q5apVFDPowcyEkVG7NfjtKQnat/a8p+VV8EzB5DmOMq+q 99g+IbfVibMzeNYIZ4rkNNUjp/748Ko43Qesf+jkL5afgc8Ms2oPQvoaQFnJTpem83q9 NwXZUumY1p79ks6jj74djdfnD86bWlWXITDuBUDGr9sDJ7U+5DkQLBuKb5LKR+3TVjUW Ap6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697727541; x=1698332341; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=H+fSKfoprD2xjep9haqaGcjsUyuDzAiaP8KcDuihTMA=; b=ACJQhXCND9D+GixD3KEiygpHrA0hJM1VApVmmP5RX8PEoK4LXQxLw81dEjZX3Qn3WH MgQZt65ySJKRKVGA2sIUVD/E+iBg11BfZrwmGzH8uGBzOWAtnAyYCYt2Oldlf+Af93D2 nQHClbHO8e596Ix1viwHvXbUjwTAV+QiG7VUOCgjyQT7gDTZnBVZbZTMeuL7XxXu4l0i vsJM2aPJRcr6xMaJX5HfBb9rjCYUapudMzG0g6cpm6N7ADtlQlRX0qtdIFD9i89M2vlE cxDiiC+aZMyhB6mfxRfyCmxLb04ZH0W4VhIcwsjJysokTb3mDbj9HjJY/kxxKy7uRVR1 TJDw== X-Gm-Message-State: AOJu0YzG6ZXZPwGifUITVQ4CqGQ05sMlD+nHwfsxR6Ewq77yoILETpLi pECUN6nUnKFthc/d7+1NCT2aug== X-Google-Smtp-Source: AGHT+IEh/tK0F10IvZvGnoSbcbP2On+lPSGmusrkOrr9+UtW+WgbOIcoUk3HPRR/bznJy32nKzETUQ== X-Received: by 2002:a5d:9d56:0:b0:79d:1c65:9bde with SMTP id k22-20020a5d9d56000000b0079d1c659bdemr2438497iok.1.1697727540691; Thu, 19 Oct 2023 07:59:00 -0700 (PDT) Received: from [192.168.1.94] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id s1-20020a056638258100b0045b16bddb8fsm1932502jat.111.2023.10.19.07.58.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Oct 2023 07:59:00 -0700 (PDT) Message-ID: <7bb74d5a-ebde-42fe-abec-5274982ce930@kernel.dk> Date: Thu, 19 Oct 2023 08:58:59 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 00/11] io_uring: Initial support for {s,g}etsockopt commands Content-Language: en-US To: Breno Leitao , sdf@google.com, asml.silence@gmail.com, willemdebruijn.kernel@gmail.com, kuba@kernel.org, pabeni@redhat.com, martin.lau@linux.dev, krisman@suse.de Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, io-uring@vger.kernel.org References: <20231016134750.1381153-1-leitao@debian.org> From: Jens Axboe In-Reply-To: <20231016134750.1381153-1-leitao@debian.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On 10/16/23 7:47 AM, Breno Leitao wrote: > This patchset adds support for getsockopt (SOCKET_URING_OP_GETSOCKOPT) > and setsockopt (SOCKET_URING_OP_SETSOCKOPT) in io_uring commands. > SOCKET_URING_OP_SETSOCKOPT implements generic case, covering all levels > and optnames. SOCKET_URING_OP_GETSOCKOPT is limited, for now, to > SOL_SOCKET level, which seems to be the most common level parameter for > get/setsockopt(2). > > In order to keep the implementation (and tests) simple, some refactors > were done prior to the changes, as follows: Looks like folks are mostly happy with this now, so the next question is how to stage it? -- Jens Axboe