git: bge: Improve TX performance on certain low end chips
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Fri Jun 29 00:47:14 PDT 2012
commit c728ae9889b31a4788919f323c05b5fefb504f7b
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Fri Jun 29 15:39:10 2012 +0800
bge: Improve TX performance on certain low end chips
These chips, e.g. BCM5761, only allow one outstanding DMA read operation,
so on TX path, mbuf chain should be packed to reduce number of DMA reads
from chip to improve performance.
hw.bgeX.force_defrag is added for PCI-E chips to enable this mbuf chain
packing. It is not enabled by default.
Obtained-from: FreeBSD 200088
Summary of changes:
sys/dev/netif/bge/if_bge.c | 39 +++++++++++++++++++++++++++++++++++++++
sys/dev/netif/bge/if_bgereg.h | 1 +
2 files changed, 40 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c728ae9889b31a4788919f323c05b5fefb504f7b
--
DragonFly BSD source repository
More information about the Commits
mailing list