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

git: mbuf: Save linker layer, IP and TCP/UDP header length


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 31 Jul 2012 19:55:10 -0700 (PDT)

commit 7df3633519a8fe6eae96af59ff4d6d40e18c7881
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Wed Aug 1 10:35:06 2012 +0800

    mbuf: Save linker layer, IP and TCP/UDP header length
    
    This could ease most drivers's TSO operation and avoid extra data
    area accessing during TSO setting up.
    
    This could also help Intel's 1000M/10G drivers' hardware checksum
    offloading, which requires protocol header length.

Summary of changes:
 sys/net/if_ethersubr.c       |    1 +
 sys/net/pf/pf.c              |    1 +
 sys/net/vlan/if_vlan_ether.c |    1 +
 sys/netinet/ip_output.c      |    2 ++
 sys/netinet/tcp_output.c     |    4 +++-
 sys/netinet/tcp_subr.c       |    1 +
 sys/netinet/tcp_syncache.c   |    1 +
 sys/netinet/udp_usrreq.c     |    1 +
 sys/sys/mbuf.h               |    5 +++++
 9 files changed, 16 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7df3633519a8fe6eae96af59ff4d6d40e18c7881


-- 
DragonFly BSD source repository



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