From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (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 CB57F1E376C for ; Wed, 26 Nov 2025 00:30:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764117007; cv=none; b=hf+FmOiNvHypyY0etVcfR0O40gYwPRmE4O3BO7m0sHTJDqMoaQ+3hmtj8UqXM1J8DfvczJowsG7ol/B203DxRvAFsld+X+tzskmZ9v1/WcG2jpXziB+7kWYtoXmiqGwSznzvXGMD2Fn49qu3B7jJgTWCr33eBczxrM5ekzjl+10= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764117007; c=relaxed/simple; bh=+7pgfRjo/daR/nWjZbzX/uZO08iJE3h0AwCxM47eCS8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dJxs3mYwkYH15gQp/ATOd+L88yysd8MtL3G4NdxlcGzqT1h2sAYxzGH22ymqUdkug2M+q5bfNMJDEx35/sLOX5q1ezp3GtEZOgU7K/dUZZcn96NY9t3karyM3U1bFZavFP1Oq3sw3A6Nbgj+3c2HdRbx40sHwYqLO6AYJEbcFWA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=VwamRu5s; arc=none smtp.client-ip=209.85.210.169 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.b="VwamRu5s" Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-7aab061e7cbso7062000b3a.1 for ; Tue, 25 Nov 2025 16:30:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764117005; x=1764721805; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=TQMjuKPHzUNhfDB/BTLq+fTDXNip/wwiVzkgCrUswNY=; b=VwamRu5scCwBUWz9WyCwemooMsOX3LyoCXEk4k4S4cQz6czo6mlzblsCC5ke5LkVQz 9nhWPgF9YTBR93kBUD8/wKHuVC4YYrXrMRfmuGJQE+UAmwffula7JAChCIWYlMJKaAMK 8IpXLpqBZATHqs7NvhN6hzM9OId92KG66j+Veofvn0GWjLB+Ir034DvR7WDtZ2Fdua7E P/VKd6VCJucQM76vaFNghQkgcmEzFjqUjYS++WtcX+I4XRGU4RDbJCAbmMQyTsci1QO8 qYAVb7l43B7vaFhr0WlI/GIcLiQSDkh7FH6AeAagpRf91xYM1dV04CLKximUj3EgbsGU IHUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764117005; x=1764721805; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TQMjuKPHzUNhfDB/BTLq+fTDXNip/wwiVzkgCrUswNY=; b=asUMAD11dwHW8nNGYt8yd8pr84pwW/DkvEUQcQIkpQQBViwZ5TYbhIrm9M30wgZowG X5f9ppWxXbH9+Se4P9Xf6VKkq2dokm4dm3ns5UNTaYNOMKoGlkhsL17Jvl68JIYmx+nw boI5IHGgCjWhBYhXy1sXkFIg6pCc/OxJMxLRUOeSfijrAFiltPWOS5I14JvpgRFs/2Ro saiZzeKNUxuammCu3TTg3v6cHEfXonpyN5LixiqYqcZSrR3F+NVl9QXed4xAaJ2kzMQO fZDcJ/EtEGJz8ncwe5P8Vc5iMsLDs8fX2NPBlwYIaNeaHZwt8SuBy2ZfGre2QszSxDed jacw== X-Forwarded-Encrypted: i=1; AJvYcCWt2s90lf3sC2diPgXxI8hQef39IgBBlvXqpV8PU9T44annSXSu6ibUOebx+MhG78BY9haxZjx7f2qzzSs=@vger.kernel.org X-Gm-Message-State: AOJu0YyZB0KXKVhh9/ZR0IBIEAJ0gX/f/ai3ttccQ3VRseDgGMVqMRfy 9vx64VqPuBV/G9/M/1b8l8EyZlZWPjhU7gasJ0Leszhw1V3uXgkwtMwd X-Gm-Gg: ASbGncvgJvC1WEYZH+Z/1x+AxqzVEeyXwIjfiSWRQXZIQxlfhc1teXS9s0nZRTFa9sz HTutY3/zHk3O8fiepyxGH5H+/6R71A+fStMuk+n6/aE8f9YXi5IPEGVezJANVEeJOjNFovS72m6 3kpMs1kwkHt8kUo4uSIW3bp24S7Jdyu3lMpxFCW/hUVAP6Q3u/V4Zp2GVhKg8W56hg1s5ocKWjC Mj4q1amkTYS9cEQcuHs1izytgPqquEsUGE4D6Qzd/eJpERJY+gKWYUOsbolF8ImbJTfq3lJO65e e/f1NFrbeuyAprO15oiECLVEOnF2+CQ60rlfdFHByfXxdcTDsu64SrKAIxChGsaNHDKB/+Ucl25 rDLZSiJZag+zA9fFUPdSexz9ENJFL+bVwU9mLKMYMacxyvERBpNc0LWw4Me0a8+fWJAwrhaobjZ mVhMOPp+i9s2aeelQiNesjnQ== X-Google-Smtp-Source: AGHT+IFlzBzMU6uRJEoPA/DtA6ralWIDq9xCWcLTBXEwpgMrSQIUxDFPucCWFcH95f/neuSSWsnHWg== X-Received: by 2002:a05:6a00:1490:b0:7a2:7f1e:f2dd with SMTP id d2e1a72fcca58-7c58c7a69a5mr14956775b3a.11.1764117004888; Tue, 25 Nov 2025 16:30:04 -0800 (PST) Received: from archie.me ([210.87.74.117]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7c3f0d55b71sm19503922b3a.55.2025.11.25.16.30.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Nov 2025 16:30:03 -0800 (PST) Received: by archie.me (Postfix, from userid 1000) id DAF2F420A78D; Wed, 26 Nov 2025 07:30:01 +0700 (WIB) Date: Wed, 26 Nov 2025 07:30:01 +0700 From: Bagas Sanjaya To: Tariq Toukan , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andrew Lunn , "David S. Miller" Cc: Jonathan Corbet , netdev@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Bloch , Gal Pressman , Sabrina Dubroca , Shahar Shitrit Subject: Re: [PATCH net-next] docs: tls: Enhance TLS resync async process documentation Message-ID: References: <1764054037-1307522-1-git-send-email-tariqt@nvidia.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Uhx3q5Xis8IAS4gY" Content-Disposition: inline In-Reply-To: <1764054037-1307522-1-git-send-email-tariqt@nvidia.com> --Uhx3q5Xis8IAS4gY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 25, 2025 at 09:00:37AM +0200, Tariq Toukan wrote: > +When the kernel processes an RX segment that begins a new TLS record, it > +examines the current status of the asynchronous resynchronization reques= t. > +- If the device is still waiting to provide its guessed TCP sequence num= ber > + (the async state), the kernel records the sequence number of this segm= ent > + so that it can later be compared once the device's guess becomes avail= able. > +- If the device has already submitted its guessed sequence number (the n= on-async > + state), the kernel now tries to match that guess against the sequence = numbers > + of all TLS record headers that have been logged since the resync reque= st > + started. > + You need to separate the status list: ---- >8 ---- diff --git a/Documentation/networking/tls-offload.rst b/Documentation/netwo= rking/tls-offload.rst index 6d276931669979..a41d02d72e1ee6 100644 --- a/Documentation/networking/tls-offload.rst +++ b/Documentation/networking/tls-offload.rst @@ -338,6 +338,7 @@ Cancels any in-progress resync attempt, clearing the re= quest state. =20 When the kernel processes an RX segment that begins a new TLS record, it examines the current status of the asynchronous resynchronization request. + - If the device is still waiting to provide its guessed TCP sequence number (the async state), the kernel records the sequence number of this segment so that it can later be compared once the device's guess becomes availab= le. Thanks. --=20 An old man doll... just what I always wanted! - Clara --Uhx3q5Xis8IAS4gY Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQSSYQ6Cy7oyFNCHrUH2uYlJVVFOowUCaSZKBQAKCRD2uYlJVVFO oyacAP0fN/NP544JfEy704TIpMviAVm7qketzfORZ/nMxtq97wEAjUGwXZm8f2Hk f0XnH1RkaVFGzFchC4P1xk7c1Dv7qQ4= =xNTM -----END PGP SIGNATURE----- --Uhx3q5Xis8IAS4gY--