git: kernel - NFE - Align packet data payload

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jan 30 21:59:28 PST 2010


commit 0671590b0715ce9a09aa441e8ea2395b188ceac2
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Jan 30 21:49:59 2010 -0800

    kernel - NFE - Align packet data payload
    
    * Offset the RX ring DMA by 2 bytes so the IP header, TCP header, and
      payload is aligned after the 6-byte MAC header.
    
      EM does the same thing.
    
    * Reduces NFS overhead during bcopy()s and also avoids triggering
      nfs_realign.

Summary of changes:
 sys/dev/netif/nfe/if_nfe.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0671590b0715ce9a09aa441e8ea2395b188ceac2


-- 
DragonFly BSD source repository





More information about the Commits mailing list