DragonFly-2.3.0.175.ge71de master sys/dev/netif/msk if_msk.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Feb 17 03:33:46 PST 2009


commit e71dee4b483c69f552a4b2a17836fefb37837d48
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Mon Jan 26 11:05:06 2009 +0800

    msk(4): Align TX buffer to 64bytes boundary instead of 8bytes boundary
    
    The correct alignment boundary is found out by using busdma(9)'s
    alignment constraint.  However, it seems that using in-place copy
    results in better performance than let busdma(9) to bounce misaligned
    TX buffer, especially with tiny packets; probably due to the "in-place"

Summary of changes:
 sys/dev/netif/msk/if_msk.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e71dee4b483c69f552a4b2a17836fefb37837d48


-- 
DragonFly BSD source repository





More information about the Commits mailing list