arge1 on TL WDR3600
Eugene Grosbein
eugen at grosbein.net
Thu Oct 29 21:21:04 UTC 2015
On 30.10.2015 04:15, Eugene Grosbein wrote:
> I do not think that hardware is buggy because several versions of "official"
> TP-Link firmware work just fine with this particular device and earlier
> versions of FreeBSD 11 also work without interrupt storms.
>
> In fact, I've applied dichotomy and found guilty commit. It took 12 iterations
> but here is it: kernel built using head at r289897 runs my test without a storm
> (but forwarding speed is pretty bad) and kernel built with r289898 or later
> revisions has interrupt storm.
>
> This is the change:
> https://svnweb.freebsd.org/base/head/sys/mips/atheros/if_arge.c?r1=289744&r2=289898&view=patch
>
> My device has hw.model: Atheros AR9344 rev 2
Also, for slow but stable (pre-289898) revisions stats show that all tx packets
are unaligned:
dev.arge.0.tx_pkts_unaligned: 1189534
dev.arge.0.tx_pkts_aligned: 0
And, as I've already wrote, later revisions show opposite, like:
> dev.arge.0.tx_pkts_unaligned: 0
> dev.arge.0.tx_pkts_aligned: 345184
Hope this helps.
More information about the freebsd-mips
mailing list