Article View: linux.kernel.netdev
Article #5612Re: [RFC PATCH net-next 0/4] tcp: carry a BPF-chosen identifier in TSval low bits
From: Stanislav Fomichev
Date: Tue, 20 Oct 2026 17:58
Date: Tue, 20 Oct 2026 17:58
28 lines
12087 bytes
12087 bytes
On 10/19, Jakub Sitnicki wrote: > Hey Stan, > > On Thu, Oct 15, 2026 at 02:45 PM -07, Stanislav Fomichev wrote: > > On 10/13, Willem Ferguson wrote: > > [...] > > >> Questions for reviewers: > >> > >> 1. Is encoding an identifier in the low bits of TSval acceptable in > >> principle, given the trade-offs above? > >> 2. If so, what feedback do you have on the implementation? > > > > Don't see any feedback yet, so from the top of my head: looks like you > > control two sides of the communication, so why not a custom (bpf) tcp option? > > Would you need that on every packet and it makes it expensive? > > > > Or any other field you can abuse maybe? IPv6 Flow label? > > Nah, we don't control the client unfortunately. > > Client here is any device that connects to our edge PoP. I see, so you rely on the fact that it gets mirrored back.. Btw, looks like there is already some similar tsoffset/ts_off infra? Have you considered plugging into that?
Technical Details
Message-ID:
<atekzexnMd27Kctl@devvm7509.cco0.facebook.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349450-linux-kernel-netdev=dewy.ruReferences:
<20261013103906.2660384-1-wferguson@cloudflare.com> <atFI9vl5hy09Dc0t@devvm7509.cco0.facebook.com> <87a4oaf3mv.fsf@cloudflare.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349450-linux-kernel-netdev=dewy.ru
From: sdf.kernel@gmail.com (Stanislav Fomichev)
Newsgroups: linux.kernel.netdev
Subject: Re: [RFC PATCH net-next 0/4] tcp: carry a BPF-chosen identifier in
TSval low bits
Date: Tue, 20 Oct 2026 10:58:13 -0700
Organization: Usenet Network
Message-ID: <atekzexnMd27Kctl@devvm7509.cco0.facebook.com>
References: <20261013103906.2660384-1-wferguson@cloudflare.com>
<atFI9vl5hy09Dc0t@devvm7509.cco0.facebook.com>
<87a4oaf3mv.fsf@cloudflare.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Injection-Info: usenet.network;
logging-data="3914000"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:3R7ir5Ts4OtWsIU168QHM4DU5/o= sha256:+HEeOAD0X1kCK1jmUzMRSP3F9izydrRxrlnfuj1C+fY=
sha1:hw2njml/rRzkzfuSuMwIVchL5A4= sha256:3qSAAhGM0DvEILERzKaFG+fUYiZ+MChwLaJCqVwDsxo=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id ACDC0110DB1; Tue, 20 Oct 2026 20:59:22 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.048
X-Spam-Status: No, score=-3.048 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id MNI2oESesPie;
Tue, 20 Oct 2026 20:59:14 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-349450-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id A849C110C79; Tue, 20 Oct 2026 20:59:04 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by tor.lore.kernel.org (Postfix) with ESMTP id 4051830030; Tue, 20 Oct 2026 17:58:33 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1792519108;
b=N/1TXI88QVo2yGqRBijwcTUHetUIjpgG7lZlZsVXsdN/QEOcfkSMHBqC+WqRtUSInHWo
lhnii3rgqFBbulpme/zgIL6m40eM0sKUe6EIQQCwiQz1P7LT9Lfoq57Mj5KxTv1nDhZSV
AVx8lzv/4NRK2/97RK6ADDZuzov2Hi08OA9ohLM6vhj1D8M2L5VenznqbwwXuuiSEXJgX
fy5BriLONvpaju3RPHF/eRJKyBFDNvM+1FqH/wiCBa/kvC9RxHEI6eDMReZeAax2VkgoM
krvpCUUaMY3K1e1p7yRcpnVcdZg3l4klPn4eoXsEZYSQzSdtvwli8wsoSnjZv4j3cRA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792519108;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:Date:From:To:Cc:Subject:Message-ID:
References:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type:
Content-Disposition:In-Reply-To;
bh=lfvzxumMX8GZYmj1PJHBaPnkGMwtjZCWGV30UbLz0Q0=;
b=BLZALx5yvJ62jMvb2F7j3PqZsa47GPhFdzKV3Eg0DRh2IdamKH5Y24cXMP/I3DvnDJjj
vV3rc2+wkhPtJD6LO2g1CsM3/nlbyHylsNkL0PPNhNRLcS5LMEopEENMFEEF34/gu1jNA
84sURp2rYZCUsApnV+dvlQ08TDeJ5ULA0hi+hbjkdA4FwX3s2p/0l7Q9C8189L/EfdxSU
EOV6PEUaWRbflEoeq+3nWKMpvcQXHH7fDBlRvRsa5laT9U/dsmjQ+cXrtIOPxE657egOO
Grt6HBWDaOreu9N7oV2oVe8RITx2U2cu0JUZU/GY0XsyZJ+FSko8UNDZ1Tgo/3aepHA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b="hk7DKm8/";
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CB9D606A333;
Tue, 20 Oct 2026 17:58:28 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=hk7DKm8/
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.227.134
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1792519107;
b=0fiR8xufjIy2suKhtM0eU4+q/moQm/0r0B77fOE86KKXogsQRxvvbIyy3uRVSMKRrmRg
DGdL8ItVvsQKGmvb8AZ0Ark28TOkbla6J5rmKglRYGzReMY8ijATL9kXM8Ka9C6DhovGB
XJbWRln8FunrU//lURHuWhm+OjhxvCAXmLkxhVfaXL3gWIwjcuFx5leS2iKd99fdo+Pkk
NkXN/NhTfk2YehC5DafHlB4u+9VR57WvQFAzsuUWrSfi4uj/FOAMJDchIcYIEoPDITDko
Z+8RL+fu0Ivi9N3/xDFihsBU/HFtJBRLgI/IGtmzP+uZ51HEGX1lVvWRBjdwkUM3uuQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1792519107;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received:
Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
Content-Type:Content-Disposition:In-Reply-To;
bh=lfvzxumMX8GZYmj1PJHBaPnkGMwtjZCWGV30UbLz0Q0=;
b=RDKA7Tjgod767taMZKYOu62522wOnrOST/+eEwlMutDcJn2ikBcl+FTBJYrLWZJ9fqVr
BrYQr3SQJNP5WIH9qnhxw1bXNKALYXaszpZEp3HiGkQAQAS6woe8Md7kZzl1+BY2ouXv4
SRK/R1y0sGFWkIVBysBkKZyk4Q6gSFGLo+m/o+xVSowfnld69hhpOzWWdW2yKC4t0dLMo
53iEiRQRv6hwk3EJBH+lt7+rgb7uWHLiaczM5Vray8VIDjZVranU3WrbBhNzOJfYsvB9F
wRXBbaA/7wIqDeW4IhO+D4ZXXWIiun5z9JVd3F8j8VkPGFER951suuRjbVQS8gzfpOA==
X-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=20251104 header.b="hk7DKm8/";
arc=none smtp.remote-ip=74.125.227.134
X-Received: from mail-pj2-f6.google.com (mail-pj2-f6.google.com [74.125.227.134])
(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 6CBBC606A31E
for <netdev@vger.kernel.org>; Tue, 20 Oct 2026 17:58:22 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6CBBC606A31E
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-pj2-f6.google.com with SMTP id 98e67ed59e1d1-3ad211ad92bso798473a91.1
for <netdev@vger.kernel.org>; Tue, 20 Oct 2026 10:58:22 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1792519102; x=1793123902; darn=vger.kernel.org;
h=in-reply-to:content-disposition:content-type:mime-version
:references:message-id:subject:cc:to:from:date:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=lfvzxumMX8GZYmj1PJHBaPnkGMwtjZCWGV30UbLz0Q0=;
b=hk7DKm8/HVQtDM7SfuNCgwbY6d9oYkVDTzKvh3xFFVJcjWgeTit4nQ3APKC6JcXMvs
5b1sQ076nR/cD60jiZzZnASVUl2A1IZZGCAtZTv89HFO9xMKTFkmD6zhLqjP8L3wg7YT
EZ+XvNHUBXYD7s1wo8gn6iYgnI1fN0liSodgV4PIsesSa9bemHyZzT4hLir3wzeKGmpn
2cfYdmBPyJQrErJTZ2N9KyeYzowC/aQbw4VYo0vWXFp7rwMFbz2ltIGvlLTQQcEQD2Dv
OdgjfMkoZTll+JU+ZxsujBTKAj8fDZLFfw03WYAg+wLvoNDOd2pzWmEdC15h4Plr2owA
0SZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1792519102; x=1793123902;
h=in-reply-to:content-disposition:content-type:mime-version
:references:message-id:subject:cc:to:from:date:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date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DoqMjd0w3vOzHmczAGbWB3WWmypgoPW4D/0XeVPJhz101GGe
NCrsFwIt+wSX69GDTxW7xAq61HHzn9ZoQ8n613nOJMndMnO6+UBY+B4/BF1V1WvMSamdhbvVSHh
kOvW+kgsNu+l1V1jbT2YG8DDZk/HPtycS1Ec7582GyAKGpy
X-Received: by 2002:a17:90b:4b09:b0:3ab:188b:c5bc with SMTP id 98e67ed59e1d1-3aceebb4bb9mr10542274a91.14.1792519101713;
Tue, 20 Oct 2026 10:58:21 -0700 (PDT)
X-Received: from localhost ([2a03:2880:2ff:6::])
by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3ad82f0c0b1sm133581a91.0.2026.10.20.10.58.21
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 20 Oct 2026 10:58:21 -0700 (PDT)
X-Cc: Willem Ferguson <wferguson@cloudflare.com>, netdev@vger.kernel.org,
davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
ncardwell@google.com, bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net,
andrii@kernel.org, eddyz87@gmail.com, memxor@gmail.com, linux-doc@vger.kernel.org,
corbet@lwn.net, linux-kselftest@vger.kernel.org, shuah@kernel.org,
linux-kernel@vger.kernel.org, kernel-team@cloudflare.com
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <87a4oaf3mv.fsf@cloudflare.com>