]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arge: use 1-byte TX and RX alignment for AR9330/AR9331.
authorAdrian Chadd <adrian@FreeBSD.org>
Thu, 22 Oct 2015 08:02:27 +0000 (08:02 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Thu, 22 Oct 2015 08:02:27 +0000 (08:02 +0000)
commit73f96038d29c8d75f8cdaa43c5f77a8144824fc5
tree5552fb723b8491e70498d0fe434f70f88e3ce962
parent66845bf5c525c9dffa3c57a6a102700d809de298
arge: use 1-byte TX and RX alignment for AR9330/AR9331.

This part seems to work bug-free with single byte TX/RX buffer alignment.

This drops the CPU requirement to bridge 100mbit iperf from 100% CPU
to ~ 50% CPU.

Tested:

* AP121 (AR9330) SoC, highly magic netbooted kernel + USB rootfs
  due to 4mb flash, 16mb RAM; doing bridging between arge0 and arge1.

Notes:

* Yes, I likely can also turn this on for the AR934x SoC family now.

  But since hardware design apparently follows similar branching
  strategies to software design, I'll go and make sure all the AR934x's
  that made it out into shipping products work before I flip it on.
sys/mips/atheros/if_arge.c