git: mxge: Make sure RX data size is cache line size aligned

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Oct 22 05:05:48 PDT 2013


commit 876dbd1727396b41a30bee2f87b85ea87f13a1fa
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Tue Oct 22 20:03:20 2013 +0800

    mxge: Make sure RX data size is cache line size aligned
    
    Currently even without the __cachealign, RX data struct size is properly
    aligned on 2 cache line size.  Add __cachealign, so that even if some
    debugging fields are added, RX data struct size still will be cache line
    size aligned.

Summary of changes:
 sys/dev/netif/mxge/if_mxge_var.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/876dbd1727396b41a30bee2f87b85ea87f13a1fa


-- 
DragonFly BSD source repository


More information about the Commits mailing list