Article View: linux.kernel.netdev
Article #26373Re: [PATCH net] net: dsa: bcm_sf2: raise BCM4908 egress queue flow control thresholds
From: Kordian Chmielewski
Date: Thu, 03 Dec 2026 12:36
Date: Thu, 03 Dec 2026 12:36
37 lines
12561 bytes
12561 bytes
Hi Florian, >> The router ran OpenWrt with Linux 6.12 and changes that are not in >> mainline: for the WAN port, the 2.5G PHY behind it and the SerDes >> between them, for the Wi-Fi chip, and for bcm4908_enet, among them >> earlier versions of most of its fixes now in net. > > Not sure if we need this paragraph in the commit message, it does and > will respond to Sashiko I presume? It is there so that nobody, Sashiko included, mistakes the numbers above for mainline results: each run needed the WAN port or the Wi-Fi, which only work with those out-of-tree changes. If there is a v2, I can move it below the --- line. > - ideally we should read the amount of pages from the mmu mem sel strap > (128KB = 512 pages, 384KB = 1536 pages) but IIRC 4908 is always going to > be strapped for 384KB In the WAN runs on this board, queue 0 alone went up to 802 pages, more than the 512 of the 128KB setting. > - the total ranges differ from the spec, which lists the defaults to > 0x5C7 but the commit says 1479, probably another 409 specific difference The commit message gives 1423-1527, the range over all eight queues of both pages. On this board, after boot, the total drop threshold on page 0x0B reads 1423 pages for queue 0 and 8 more for each queue after it, up to 1479 (0x5C7) for queue 7. Page 0x0D reads 1471 to 1527 the same way, so 0x5C7 is also the value of queue 1 there. The other fourteen values do differ from 0x5C7, and I cannot tell where that comes from. In any case, the total pause level of 1300 stays below all of them. Thanks for the review. Kordian
Technical Details
Message-ID:
<20261203123622.210685-1-kudzo51@gmail.com>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376599-linux-kernel-netdev=dewy.ruReferences:
<3e8ff762-c936-4197-980d-bb6f98816cf9@broadcom.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376599-linux-kernel-netdev=dewy.ru
From: kudzo51@gmail.com (Kordian Chmielewski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: dsa: bcm_sf2: raise BCM4908 egress queue flow control thresholds
Date: Thu, 3 Dec 2026 13:36:22 +0100
Organization: Usenet Network
Message-ID: <20261203123622.210685-1-kudzo51@gmail.com>
References: <3e8ff762-c936-4197-980d-bb6f98816cf9@broadcom.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="2488947"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:r9gP+oMH7OEqtEGCUx3blnA37FM= sha256:/H+lZQ8jN6OSgFox5OzWtyFjwzOzPzaxyZB5AfIrf9U=
sha1:5TLyaRj2FAfttEXgIpcoE4+2L94= sha256:ORJXFxbo5ULELIpmR3XYYJ29qfiER2lgxu1aeWKK9qU=
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 5E6E911793F; Thu, 3 Dec 2026 15:38:42 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.397
X-Spam-Status: No, score=-3.397 tagged_above=-9999 required=6.31
tests=[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.001, 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 myh4ifItipV6;
Thu, 3 Dec 2026 15:38:40 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-376599-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 C81DA11793C; Thu, 3 Dec 2026 15:38:31 +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 760282443E; Thu, 3 Dec 2026 12:38:30 +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=1796301508;
b=hXMs8Rvbo5TKyPdT3dRu4pkGw/lnDs5F7sL9OY7fC5LPm2FTwthbgVZUjJRTBl/G/1EB
wHFOTwzYd0O9uGKmyGbcLoWkWq5jDn21foBV9kPIqUZNy3ZLTloz16PKe6MkEem9X9pzY
fZOFNF8QA1Px5qyg7LJ8zzmhc+Qnc6OIJmJfgdUx+r+mjdaKL5YA88gnvBC+yacdzv60j
e2gFmsiNJyoMdIn+yqZAvAUfWaZ6y1G1Q89FlOIjAFqeP69IEdSymtHU/1lhNRSuwyxeV
suuTVGH/MwzqOCJ5qfvR44t0rxa5WDNLvVCnUod0ErYXu+uyQZ4pCkkY/Uqqu/FnS8A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796301508;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:
References:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
List-Unsubscribe:List-Owner:Precedence:MIME-Version:
Content-Transfer-Encoding;
bh=JTfI36G8U6YDKQ6muRzNGfMAKNRdhOHU89STQz8uD/0=;
b=YXg0G38+mB0tQi93xaTbfEM6nd87KndJ2l3Bdft0xxHSYEK8VtiouSxoalffZlepKsNT
1L7RwipcHfhyvDt8oQTLYAYYQtrJ9IsrYl+zCf6WWoTpGl9+19O0kXYYNJ8vZA1puD20m
YHYP3XyiSV2QiqEdPYzcsI88R4+1VVJqBOCidCjwU09V/YMmV9+5FQ6T4VOhK49NzDDsK
CI7+nda6xarIRaYuxHNHoovaGqg6ewSGdTJlh+gbX88wGF9kTmTXE35HyBXi/VooS1mSR
ESZqxWUcVeo7Idi8tjJZ4np2GKeHORfTugVXGGfg3iegdh1l05df/E3hydnIJmaOX3A==
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=20260707 header.b=jqomeRjK;
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 29DBA606A333;
Thu, 3 Dec 2026 12:38:28 +0000 (UTC)
X-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=jqomeRjK
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.208.47
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1796301507;
b=0lEcQGAS4bciL0sSX5BPzT1k//Zffp61rbGVUMavb+SMdcADRwq3Oie8z2OkKf/1BxJJ
QAvJg4wEbOKbs2z6zzDRw7PMF8hXUAA4bLyF7l+rmkZvN/VODYjIyF9c0ALTv6Bm9bL7E
ed3FdP3XjOz1ZlT8Xns/709apiuXajgM2OpNGiQ+aXVT1GUsPzu1pQeo7N35SAovQsn8t
wjn62dL+udDplD9rTccFhcQlc2DobIWzuaKwUm1yQRKSz3cgdkEZ8Dqp8sD2css+Jw7qI
frqLdTymp1kUv0vqCXfpWBU5aEElC1dkEpWit893oEGZsaQoQnLYQqq934RColunD6Q==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796301507;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:
Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version:
Content-Transfer-Encoding;
bh=JTfI36G8U6YDKQ6muRzNGfMAKNRdhOHU89STQz8uD/0=;
b=uyWvV/TAvbDj2x/SZ82avRMe9JdSgmwHWfgHDX+LytwA7RIamKT4ruBbe8C2VbUsT1Nl
gSjEveJlNzuYyndl3KBe3CybDahiDmnXpjSMhq/v8LS5x2RgvQlz6x3pF36haY8bFL15d
CxGflgM2cNen3GGXV48FF6QxTjwYSXpwVD7IuzmonWGtgkUNySyrEk67RZA5bC2tiTjwU
Y8jKQ1ihyErIKxyaHR0LC+97Crw3HMVcrac90mZMdV1aQmgtVTkpNXwxP10US67KXm7eG
ArDnXO51GVCJQXc0DSZ1DSE2WMa3FklNc5AIL7kN6gq4VTzdr+eHCeqI0BB8lx6JfLQ==
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=20260707 header.b=jqomeRjK;
arc=none smtp.remote-ip=209.85.208.47
X-Received: from mail-ed1-f47.google.com (mail-ed1-f47.google.com [209.85.208.47])
(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 E853D606A32F
for <netdev@vger.kernel.org>; Thu, 3 Dec 2026 12:38:26 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E853D606A32F
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-ed1-f47.google.com with SMTP id 4fb4d7f45d1cf-6b87a1a2babso1473427a12.0
for <netdev@vger.kernel.org>; Thu, 03 Dec 2026 04:38:26 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1796301505; x=1796906305; darn=vger.kernel.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:from:to:cc:subject:date
:message-id:reply-to:content-type;
bh=JTfI36G8U6YDKQ6muRzNGfMAKNRdhOHU89STQz8uD/0=;
b=jqomeRjKo/iWUD0BK+MpvNzApLW1XmktgDbQRkgmTFZ5fYLO7R9TPE/AO+K+squH75
XkQ/LFhr1a+/EXSOtfVH46+fRuPjYeYFCVr7sm3wUZfYkFH6NgbuT0kXI2dcVVmdfx4w
AycAPlIn/VHGsz6s0rXfzWTACbx3RhkqkoDCtHK1SCjKAa5W2ifCBbb2PlJKViIDd3xm
19/E0GPlqhqv6rthUrPYm2xVAfD2jE9q22fbm1m6DCfoppPOEgxJ8ha0D57qcqABsT4P
iE+65Q6m6F+YHh04JEjiGG9dYjdFMG7ukcII/D6xnHHMOtfcqvu4p0JPKl3Ozk9Cm4ny
3j/g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796301505; x=1796906305;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=JTfI36G8U6YDKQ6muRzNGfMAKNRdhOHU89STQz8uD/0=;
b=bmA5Ni5c5q653pIj7I5PcnkNR9qyzdEAh2xhlgX8pE54K2A66xEvKH/zcg+3Y5Y0Zu
LMgGsEyY8YgJekodrsIbnTCp5bZfxMYCebhQ+X6H5ArKU3Zvyu2MH11swq4jxHLf5xzy
FfCoJswa/w9Tigc3p1Oh5/awO/7SDOUwinPkH7+pCAUmL3yU58lQFSLGMayeZQwA3ywN
WHZhQ231CYEpns+Sq8TYEwAUJ0JEhAF2Imu6uP0umANhTdTt+f9k2scjCXJWiHKeK2ES
HcdtmoDEGQDMahDnXyrt74P6OQQoUBgUydZeRvJQOuchh2etVsmAhNURcfzoFBz7gImP
utQg==
X-Gm-Message-State: APuU4Z++D7VvsDfINUiic2o+ZP1KQV4PcKbMy+MEKHNf1vfCgU1IuN6A
tQpPBvbt4qbVoE3aJXPyjirfzSV9U9AUmmoi083tBl++qS7400iQqS1M
X-Gm-Gg: AZFdTZf7DxXrapxI4j3D7tCXchttsuWfAFNPXy5L/SLi6V5F94tJQt2IcnVBNGf83Ea
e5mHX04Z5s4LtvwP7sRdGH4aJ+6ViA+VhCrBqEDa5Kfgw10Lz3/fJx08LHNSMnaVlR2tmk4SrnK
BWO9hQB7cP5JjXajxFc0P317uzXtEqa+KuCjJS+bHA/S1nGxFVufA1zgOy7O3p04kGMsgCYzJHd
c2ZVeurhJ9a/3cg6SSwpzsHbVcQH9QW5cNgEOOuYRVcgysg481UH84rWXzUc2GINuuuiJtW1omm
RJ62pa2HYACFBQFpy2Il4rjkHQvXN68/x0TiG+8ACTN5qtYNBfxBDE21qJkafL25ILk+doFi5OQ
VejeHUcTd6foZIJbP870EGvaBtWJAVh7NLhUe0BkLCS6+TIeZkqT4NoDCBYuCe101DfW3Mx20HK
Zs3jJ91U0OFnPwbea1fsRttRgdjgrse6/+Cr2T5D3Fv0yboQdTiyOKJlKiivN/Dl1yb3D97XXYG
0rUvidp28kn8bguVVxwd/mmBj0rjFYWzlYCtgUDHbLYbgxKUtxxFEcqFWxJCCtQ+MXcZPs/YmjK
ubCZGttLKOx4YWEG5Cu/nYgtyjMxgwZgW7N02ps/if9lGan9ET2kAOg=
X-Received: by 2002:a17:907:6d0b:b0:c42:4f89:13 with SMTP id a640c23a62f3a-c5249083727mr169181266b.15.1796301505158;
Thu, 03 Dec 2026 04:38:25 -0800 (PST)
X-Received: from kordpc.lan ([80.248.138.39])
by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c513ae661b3sm1451411366b.16.2026.12.03.04.38.24
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 03 Dec 2026 04:38:24 -0800 (PST)
X-Cc: netdev@vger.kernel.org,
Florian Fainelli <f.fainelli@gmail.com>,
Jonas Gorski <jonas.gorski@gmail.com>,
Andrew Lunn <andrew@lunn.ch>,
Vladimir Oltean <olteanv@gmail.com>,
Rafał Miłecki <rafal@milecki.pl>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>
X-Mailer: git-send-email 2.56.1
X-In-Reply-To: <3e8ff762-c936-4197-980d-bb6f98816cf9@broadcom.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