Article View: linux.kernel.netdev
Article #5913Re: [PATCH nf-next 2/3] netfilter: flowtable: update upper device stats in the fast path
From: Florian Westphal
Date: Wed, 21 Oct 2026 08:08
Date: Wed, 21 Oct 2026 08:08
19 lines
7848 bytes
7848 bytes
Julius Bairaktaris <julius@bairaktaris.de> wrote: > On Sun, Oct 18, 2026 at 03:53:40AM +0200, Pablo Neira Ayuso wrote: > > I mentioned it is a feature that these counters are not bumped, > > because packets are not passing through this devices in the bypass. > > > > This allows users to see what packets follow classic path? +1 > OpenWrt users report it as a bug. On my router a 268 MB download moved > 0.15 MB on br-lan, while the port below it counted all of it. Whats your plan when users report the proposed new behaviour (always account to the virtual parent device) as a bug? Conceptually, with flowtable, offloaded packets bypass that device entirely and therefore should not touch stats of the virtual device. At least thats how I'd expect it to behave.
Technical Details
Message-ID:
<athy9HUHBPfCBKu6@strlen.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349880-linux-kernel-netdev=dewy.ruReferences:
<atQmpPlfT_DSd9dq@chamomile> <20261018025319.1445197-1-julius@bairaktaris.de>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-349880-linux-kernel-netdev=dewy.ru From: fw@strlen.de (Florian Westphal) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH nf-next 2/3] netfilter: flowtable: update upper device stats in the fast path Date: Wed, 21 Oct 2026 10:08:20 +0200 Organization: Usenet Network Message-ID: <athy9HUHBPfCBKu6@strlen.de> References: <atQmpPlfT_DSd9dq@chamomile> <20261018025319.1445197-1-julius@bairaktaris.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: usenet.network; logging-data="4070401"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:Ajk15/DlIfWcMuYDwZE0MiRmN4A= sha256:yvb4rSeNypdBY3IXYEGunUhW3zZFXCV3YmvnvtPjL7U= sha1:S12R0vjir4uiv80WxdnlIFlFV6Q= sha256:LHGUHuXOIaZLZMWZEgxhNeVFxT2Tywm25IP1nS+aBho= 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 D6C51110F6F; Wed, 21 Oct 2026 11:08:36 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.05 X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31 tests=[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-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 B32LvUZ9AfbL; Wed, 21 Oct 2026 11:08:33 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-349880-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=strlen.de X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id E58F1110F66; Wed, 21 Oct 2026 11:08:29 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 1CF43609301; Wed, 21 Oct 2026 08:08:28 +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=1792570104; b=A5OpbezJ4TmdJu614Kl4Ui6LMaZFN/EkLcxlXTO5ogzdJT3bu3H7wuFDnVq8XYJMNtj7 F1rr0Ne9qiVHk+UqTieM8OaadXDUnnh4x+lyQosElraz6Wv9t0xoKG/BQy51R/Nx5n21C DOJtEDa1mKdyZUz2MQq8gBDQJQ3l84sKMjOLEgQJB1Y+KjD89YqvZQ8M18TYT+KSgTzpM wp379ZRmJbNLOT0zrYtyDxi0jW/rJ9HjZmuQ5jRU83IdzaQaUJtGChghIlT9HOqZd46xF +NBhho2zdWA+Z3/IdomPETXG3Y6b2hYv6cRj1WNR73WMKiBhxAxLmib+fE2M58+GQow== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792570104; h=X-Original-To:Received:DMARC-Filter: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=jRlkVzPhIpWcH/LgEeSy681BizNsmQx4hmGRTx+sp8U=; b=HW4Dh8sMxsf9BuEbdve0U99utOLxkVl9IXLca1qfbQkhHODZOAgKd5s/Nxmjln5mWowa 3Q+8oei77Ux6VzeVLmR5AGyEHB37iqZ6M/bygvvjGS8eupaD0YQPGChsdXpvuSbbbKg6/ 7ePygpZ0KUWPUnTYX+3FE7DI+SIaq6Z0DO1/o4R5EUf3fk6eMB1E7ep5d3hhw2f422cg4 68tC4A5r4VFb9OGyx8uypbZqrXPRoWj74FY8yYNlIVHerAs5Bg1j+I4GeeA+lVNheZjSZ X3Q+QZyXp3HBgYFv4APqW2C3O3WO3VUJ3rftn5qNC+1BPFe7wbyg41DxLYFIuyYVx7A== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none header.from=strlen.de; spf=pass smtp.mailfrom=strlen.de; 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 46983606A326; Wed, 21 Oct 2026 08:08:24 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.216.245.30 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792570103; b=fYIt6HcPIVyjdH0ZpuKDKoH+JW05IV3ifgSQxP2P8SaL6M81U4yb15SAQxvJC7VOAJ5n I7OCehFU7Xl8y5GrwtMqK7NJumkp4T3ewrGPNSIlMaSp9VD31CdL7VbgR5vh7CFQSqXvT 8wjWsfCpJheuzK1M4dUOiiDt1LAL/65SuS1fqUZe/z9wL9qyMBIwbTQXtmrfDwChmoVWt MVARichrhx/Gef9BUspSiIVFt4Ky+c6j3K6lGnzmZV3VRIH4Q5w8tE5pKXiQSJ31uc+Y4 IUXuEpD2LzDi78Wrrct8eRiqmEaz8pUv9KwnDzVr0IiOQQrKCZs/KtCIWbxe7mIT/mw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792570103; h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=jRlkVzPhIpWcH/LgEeSy681BizNsmQx4hmGRTx+sp8U=; b=N/k0QdIKw/+R1+uxQ+SZl6WIQR3J4QbKGgyqwgsnlC6Is7N2eEAL4Rl3o+k2P1QrSIxz 0m0R1Id+A2Q/IpdmcJeImiH0VDH3JDi1Rhg6p6EBvKaDRFiIpR8xZ0zmv+q7ukT9BeWNZ RVG0e4MYB/0wtJsOViN4s8JbA+aLmBnyDh3aJP8vAeMEfSHGJ0yenL1F1SoW7E42HT9jL JyhnD2qMe2ycrdmJFzYYh8tdYIKynkseYC43tI8ywZFru8tyFWT7KjshoBqgIYx4awP8M 6Im7Fliq7xmZMnpQb33RVYN1kZEZFifyhutGodYXoJOQXYXCxGDpAPOZDlpemChzzog== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=strlen.de; spf=pass smtp.mailfrom=strlen.de; arc=none smtp.remote-ip=91.216.245.30 X-Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [91.216.245.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 80362606A319; Wed, 21 Oct 2026 08:08:22 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 80362606A319 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=strlen.de X-Received: by Chamillionaire.breakpoint.cc (Postfix, from userid 1003) id 7380160460; Wed, 21 Oct 2026 10:08:20 +0200 (CEST) X-Cc: pablo@netfilter.org, netfilter-devel@vger.kernel.org, phil@nwl.cc, coreteam@netfilter.org, netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, andrew+netdev@lunn.ch, shuah@kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, nbd@nbd.name 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: <20261018025319.1445197-1-julius@bairaktaris.de>