From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 C6C3127B32B for ; Thu, 8 Jan 2026 15:01:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767884466; cv=none; b=OlHvgSz/mYe2ze6IJarLkNMZlbNSFL5t24l90zhiKpAwBRvEjMhuwp2PiRIJaEDFRht84jYPpB4FeOgd+5IriKWRSmF4rBShHf3xA7W2PjONh/DT8XtwtuC6TJYMJwmqGaYmoTOoZHjv9mnYqGf/0X18rwBlhh36JqRn108TBeo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767884466; c=relaxed/simple; bh=x/KSeZmo4BpDEjmSmP/FoMnnJGbAD1EDOlqErMkqNac=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lGpqgY+JKmEWliCAglVe+SOLsswPYF7eCZvlQaJBn3wDLyiZ/MDbk0HxqVuSvbdQqJVGzqgQYdXCcNdAsQP8gnPUhadcxT9C4hZMREa4vZxLCWnMS1R0cL1hz1knrjKTEJJno6c/InThXr/YuYmExPjpBZ6c3qFhfyWSFt/qkN4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=bwyWsrj9; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="bwyWsrj9" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1767884463; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HqGiJMM1pVcyveofpqbLm9RhIj56aLTI2bxMd5dfX0k=; b=bwyWsrj95zVc69gnlrT6n48GvmnSGZcihFf+e9hW4Bv74127tBC96R+b3c1RF1kxhBbzb3 0mExjI+OVXaoCszmixFJSYdQ4aMPE9DB6X1QeBYbZ7RDcA+NGr7KUPP0Pncv7v7FRkI/8n PcHMS2ECq1siVRlI7mIxRxZ3yZZU2hQ= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-134--66BaJlkOSeDHdVDuGeEjA-1; Thu, 08 Jan 2026 10:00:59 -0500 X-MC-Unique: -66BaJlkOSeDHdVDuGeEjA-1 X-Mimecast-MFC-AGG-ID: -66BaJlkOSeDHdVDuGeEjA_1767884457 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-430fcf10280so2212625f8f.0 for ; Thu, 08 Jan 2026 07:00:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767884457; x=1768489257; 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=HqGiJMM1pVcyveofpqbLm9RhIj56aLTI2bxMd5dfX0k=; b=pkA+ylJpqHCPnYqhI0GTZ7ix8s8g3l5nqw79zIvNae3x/pmWU2cAfY4+DxD1gxj+25 L2rw8jXcYUZq1wpYLo7TzvMVt7FNarsjK1XSaUJXF481G1D1TAwKFX5iWC0iOB72PrKJ 6ugqJlot6FtFx9dpeJJmVVW+ykZIBwVfRaSzS9LpHkRVWpiqqhFki29qtkHfJw1FfcYX FmE/hwyi5JVqSxfgER/s8Ugxmc10L1FilJoRe/KdZcyet/bRhlL2cuxLNU21GPnNx+I2 4o7mhFLqI/8BrG8/WeQCMI442bnudxKTiml6OtERKtYDNPAt/xN+w6NDzIshXAT4JmI4 M2vQ== X-Forwarded-Encrypted: i=1; AJvYcCWeOyPiO6Nl/GLB+77vUKVbHC+e8j4dK/YrlkQF4E6Z2JZxPReKAkbWJ7xeDfAEwuJT03/6@lists.linux.dev X-Gm-Message-State: AOJu0YylPpRaF/GVQ02ONYD0s4+ajxgaKEgi1AD8jn4Wep/DcjIGWZq5 Y7uo+320CUVO4ZEmrpIXenUaOxUSynVTR+rfsx48melDFgaPydjYGMxTIlPQaXKwlATyw3rA7sq ULLK0v51uEDt8NJJ1lPrxb9G+xeDV21Iut/XdoKcNS9z4Dy/12Gc2gd8= X-Gm-Gg: AY/fxX7ZmEn9HlPO3b1f6NDqXUSGNrmPH3bMTCA/KKQQ6NXuKYGgvYkVHhSR7Cpg1gA /SC9y6+9olY5nFj02ZilJpOUxLylJ8LTLEH24IOfOq99mcolU1XUCr0QMabVT6xz4ONj7l8CN96 7jk0wq6fGGvqIr5Lm3vUauxlQ69LAkj2oagcxdwnvIzau/q+BAxcIrStlbhq03c+eR1szxZoudB mYfvAdIiutCXndMbtgaFuvHivXGRaWr0JON7nhWhc90CBMLHBukGCbTW3oDVGywGmF26d7a5SmR aAXElOehl07ByuQZMysnWV75r1t6Z9SEYNDmgMLdRh18BQYGfb0FLzHWsOdLI6ApyFLW1KQ9/NF Bh14eeD4roEemuA== X-Received: by 2002:a05:6000:603:b0:430:f72e:c998 with SMTP id ffacd0b85a97d-432c379f3d4mr7580328f8f.51.1767884455806; Thu, 08 Jan 2026 07:00:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEFTqZKQeu3SumB0qBMJBfqywsL0m05L0nnqVw7M8JGsK2WTMQCpTmAHt9TI/XwSLSTqMmww== X-Received: by 2002:a05:6000:603:b0:430:f72e:c998 with SMTP id ffacd0b85a97d-432c379f3d4mr7580153f8f.51.1767884453818; Thu, 08 Jan 2026 07:00:53 -0800 (PST) Received: from [192.168.88.32] ([212.105.149.145]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-432bd5fe83bsm17351709f8f.38.2026.01.08.07.00.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Jan 2026 07:00:53 -0800 (PST) Message-ID: <1f31a9ac-01dd-4bb1-9a5a-ec67b381c5c0@redhat.com> Date: Thu, 8 Jan 2026 16:00:50 +0100 Precedence: bulk X-Mailing-List: quic@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v6 05/16] quic: provide quic.h header files for kernel and userspace To: Xin Long , network dev , quic@lists.linux.dev Cc: davem@davemloft.net, kuba@kernel.org, Eric Dumazet , Simon Horman , Stefan Metzmacher , Moritz Buhl , Tyler Fanelli , Pengtao He , Thomas Dreibholz , linux-cifs@vger.kernel.org, Steve French , Namjae Jeon , Paulo Alcantara , Tom Talpey , kernel-tls-handshake@lists.linux.dev, Chuck Lever , Jeff Layton , Steve Dickson , Hannes Reinecke , Alexander Aring , David Howells , Matthieu Baerts , John Ericson , Cong Wang , "D . Wythe" , Jason Baron , illiliti , Sabrina Dubroca , Marcelo Ricardo Leitner , Daniel Stenberg , Andy Gospodarek References: <127ed26fc7689a580c52316a2a82d8f418228b23.1767621882.git.lucien.xin@gmail.com> From: Paolo Abeni In-Reply-To: <127ed26fc7689a580c52316a2a82d8f418228b23.1767621882.git.lucien.xin@gmail.com> X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: uJcRwrV0R9cwHuSIpMgdyOzr3xEULb1I-91fIhWabOI_1767884457 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/5/26 3:04 PM, Xin Long wrote: > This commit adds quic.h to include/uapi/linux, providing the necessary > definitions for the QUIC socket API. Exporting this header allows both > user space applications and kernel subsystems to access QUIC-related > control messages, socket options, and event/notification interfaces. > > Since kernel_get/setsockopt() is no longer available to kernel consumers, > a corresponding internal header, include/linux/quic.h, is added. Re-adding kernel_get/setsockopt() variants after removal, but just for a single protocol is a bit ackward. The current series does not have any user. Do such helpers save a lot of duplicate code? Otherwise I would instead expose quic_do_{get,set}sockopt(). /P