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