From: Kordian Chmielewski <kudzo51@gmail.com>
To: Florian Fainelli <florian.fainelli@broadcom.com>
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>
Subject: Re: [PATCH net] net: dsa: bcm_sf2: raise BCM4908 egress queue flow control thresholds
Date: Thu, 3 Dec 2026 13:36:22 +0100 [thread overview]
Message-ID: <20261203123622.210685-1-kudzo51@gmail.com> (raw)
In-Reply-To: <3e8ff762-c936-4197-980d-bb6f98816cf9@broadcom.com>
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
prev parent reply other threads:[~2026-12-03 12:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 9:57 [PATCH net] net: dsa: bcm_sf2: raise BCM4908 egress queue flow control thresholds Kordian Chmielewski
2026-12-03 5:11 ` Florian Fainelli
2026-12-03 12:36 ` Kordian Chmielewski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261203123622.210685-1-kudzo51@gmail.com \
--to=kudzo51@gmail.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=f.fainelli@gmail.com \
--cc=florian.fainelli@broadcom.com \
--cc=jonas.gorski@gmail.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=rafal@milecki.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox