DragonFly BSD
DragonFly commits List (threaded) for 2012-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: bge: Improve TX performance on certain low end chips


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Jun 2012 00:47:14 -0700 (PDT)

commit c728ae9889b31a4788919f323c05b5fefb504f7b
Author: Sepherosa Ziehau <sephe@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]