msk(4): Align TX buffer to 64bytes boundary instead of 8bytes boundary
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 26 Jan 2009 03:05:06 +0000 (11:05 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 17 Feb 2009 10:35:36 +0000 (18:35 +0800)
commite71dee4b483c69f552a4b2a17836fefb37837d48
tree28714f24f626667d55208d25b9797795e0abc833
parent5bda51d442698676a304a6d8fff867c28221018e
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"
sys/dev/netif/msk/if_msk.c