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

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Feb 2009 03:32:19 -0800 (PST)

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



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