From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.219.65 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796413643; b=D+B+gQfnVPnwXnPmxSr9fR/Q7DJ2zKS20TX3Ubn/7WP0FTffPUi2ZYAI35l26okiks8F VOcCYmYqro3IhdemWpQiqquT7NxfQwKJN1n60ukKavApgtUMav94yL5U8FsLGO7+FYkXE /jq1BmVo9/j9bXYnNoUo1PzDcr1Bdec0y5vdgqUgzmQy2a0PxVijSgusnntC1wq7pnx7B dkYgIKs0YctLunb3F9oY18grdBOStltGoAvJeBElUsRcpqA3QFTJFresgIgDG0p+7F29v OTNQPGYNgLF22cbWL4juhhL/gTKxV7bRTmTr7ASsQofeXFnqmmuZcNGCtOR2x5+E78A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796413643; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: Message-ID:Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=D+sNniMbpApwM3kpcLgb9YzE/k/BVvS8ojR2pQfAN8s=; b=PCVhF7b/WqRqsRwYDhIq4OiFX52oHsgwnLkbmNmiSsFuV4yqHdi+qMM33IA5bWv7QCnk uj8Q9WUFInrzBGQanGmOdxWQUy+htIm2D4CrN2Fb8dYdeLL+Ew7mzDvfW2H9lZToLLN/t PTB94ujjQgrLaZfeHjBTmmiMUrThVbGJr/1qAoLli/TR8E7XAOIwAQNFYGnetCCGvvTUV l3gePB9sZDWEjEppS+yNC0Afca+RQ/18UTD9Ju6aIcm85P3p4LZ8jEtB6yBX22d9N6PZO SZAP3g4HELoGw9EJPWNSdHyZkmStBd+c/QPLbeD+5nhNbKx/WPKNmkkfJK35HMXnLQQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b="K/eI6QvC"; arc=none smtp.remote-ip=209.85.219.65 Received: from mail-qv1-f65.google.com (mail-qv1-f65.google.com [209.85.219.65]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 70FA2606A32C for ; Fri, 4 Dec 2026 19:47:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 70FA2606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=K/eI6QvC Received: by mail-qv1-f65.google.com with SMTP id 6a1803df08f44-921d556c05dso26474786d6.0 for ; Fri, 04 Dec 2026 11:47:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796413642; x=1797018442; darn=vger.kernel.org; h=content-transfer-encoding:content-type: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 :content-type; bh=D+sNniMbpApwM3kpcLgb9YzE/k/BVvS8ojR2pQfAN8s=; b=K/eI6QvCyunVPNnfqJpynJah9A9W/QsCuZMXSt2hVpZx0wFv88QVSP42Z80synhM2r /bch55Dmz7ImLTJh4jys6sXaQuyoYRISlEVUj4pcNZHNHrvzSrkTs2bYbwcy3/r6BxQi lQf8wzTfz3aJACyFVyQsNLb1EVdDNqd8loBut15d+ScagWZZ4Lp1erH5IvdafDFK+//A aYEh7NVBns5zQTqb46NwVFdd3zsut8YlrbyLYuyyjtMZiS0z5nto7BYPpReSXdcKu34J 6+7K/S+hsGNClkRTSYIwtuYJnFf+oEAOOtQ1t0CMs6cXmWaDe3+pIdwBNu8LVFO6MqZq QzOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796413642; x=1797018442; h=content-transfer-encoding:content-type: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:content-type; bh=D+sNniMbpApwM3kpcLgb9YzE/k/BVvS8ojR2pQfAN8s=; b=zsQn+w4OP0P1VhicI7ue4Jaokz6JHqRGdMyM55dsayrYP0xXqYr1Rqf74Yb9gEH9il BiCsDsFM5tXKewoYbIngZklaeo240BuxR8yByjlJRMC+0C9ELdr3zJm0x+KBctSvp593 h/gfZbSDMRUj+PTHDhtrsS43WVqikoz9eT/ad/XydbYDxiloFCDMxD/9gA8pRPqcHnr3 wyBRsqSLlEnG9VjENCExHPNmVEwOnZF2Jb1JKp3//THsBaN2P/VQB6kzoH/QiJ3n1RS/ pBmqKPP029f8/YQH5pQXieGTj/G5IpCAlYNXyzx1HDBKzlxjkloWlC48wZ3QFJpgoR1E Enzw== X-Forwarded-Encrypted: i=1; AL+hErEjfKwJF4NvN0DQjKMlMV1/BEjAG9emSIHUZ2EoDdS3CTBwXfP1ifrND766g1rUSELQVl7F9cg=@vger.kernel.org X-Gm-Message-State: APuU4Z+gGoto2Tf+j2EHMJKpkAuqy9Zil6ZHqHbgKpHNbujdu+DeAnuW 8ebuK+HeQz62qURp2VXNBN+QYB0UfD/jq54FYtuPCOb3rHKGemCQQVpS X-Gm-Gg: AZFdTZc1K+pikM5Q21zktWHPjAUqajAXlBodIF2jueot2r1blEYQjO/nBTpny9eABzd n92KgYeGVmRdJYA6NZjvKmmdNfiogqgT7pao5adxeLi0qpIsmnc+cqifPMmmG+noso/a9ktTJKn l8AMMVyrc/yIS6Nrry5g6c1DUr6WjjPTpbnwmuoAbuK1hVuOC7ZQHfWHlC5RkNG3ucGSkXMgKmX r3uHM7rrgPL4PA65kydZeWToqPa0PVMtgPSXyWcp11oFkUNCqXf9VQ/hstIXZbCZTQEFo03NnGk BbkIFuxVEIVvaraRsXwC24lB6/IYts8HZIMF0SwsIpb31BNrDFEwgqbDior7vLs0Eo2Q6lgb+67 TsTrf9VeAGaQHXbr0ff9XRptQsTxa3iLa3s1eRHcPamEKWeUSX94BXlKGgCbeUOQbQ9ApX28cd+ jHTxM9wer8TTJMCysdo/VlsShwRn1Ht1ywihy5fxIazu4EnhBzINlwy1h4XtKuxTuMpxzlczL/t wq9TxD6vCJ3pCye7LleN8cgQDjXJV4+6s9ZYpOkkdq3AzopN3R6/H2od+08Gck13MsZcnzwAPD+ uXkUsTJ6+zt9orTkrj8SOTft5+D4TwBsj/Y= X-Received: by 2002:a05:622a:c01:b0:547:9b43:b1b1 with SMTP id d75a77b69052e-55e28256518mr101596481cf.12.1796413642257; Fri, 04 Dec 2026 11:47:22 -0800 (PST) Received: from [10.0.0.48] ([71.69.222.122]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-55e366710d8sm27347851cf.21.2026.12.04.11.47.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Dec 2026 11:47:21 -0800 (PST) Message-ID: <53800e01-0902-4dd2-b609-12e797734c55@gmail.com> Date: Fri, 4 Dec 2026 14:47:20 -0500 X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v6 0/6] tls: perform TLS 1.3 KeyUpdate in the kernel To: Sabrina Dubroca Cc: Chuck Lever , John Fastabend , Jakub Kicinski , "David S. Miller" , Eric Dumazet , Paolo Abeni , Simon Horman , Jonathan Corbet , Shuah Khan , Randy Dunlap , Shuah Khan , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, Hannes Reinecke , kernel-tls-handshake@lists.linux.dev, linux-nvme@lists.infradead.org, Alistair Francis , Martin Belanger , Daniel Pereira References: <20261105-keyupdate-rfc-v6-0-99b695f9eb4f@gmail.com> <7f9b7ab9-9728-42be-a5c1-9e8e62c23ab9@gmail.com> <9afa5b2f-e3b4-42cc-9486-605547d8f0d9@app.fastmail.com> <2e7566b3-6b8e-40fa-99f3-033d7b276207@gmail.com> Content-Language: en-US From: Martin Belanger In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Sabrina, On 12/4/26 12:21, Sabrina Dubroca wrote: > This is in (slow) progress, and includes KeyUpdate support, which is > quite complex: > https://lore.kernel.org/all/20260917224355.2288021-1-rjethwani@purestorage.com/ > > Since TLS offload is currently transparent to users, we want it to > also be transparent for 1.3. Thank you, I had missed this series. It corrects what I wrote to Chuck: the device path does not need a new driver op. In v17 the rekey goes through the TLS_TX/TLS_RX setsockopt update, and the device code installs the key. The in-kernel KeyUpdate will install its keys through the same path as that update, instead of calling tls_set_sw_offload() directly. Then an offloaded socket gets KeyUpdate without extra code, and offload stays transparent. > If you have time, you could run some tests using those patches. I do not have a NIC with TLS offload at the moment. If I get access to one, I will test the series. Martin