git: mbuf: Save linker layer, IP and TCP/UDP header length
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Tue Jul 31 19:55:10 PDT 2012
commit 7df3633519a8fe6eae96af59ff4d6d40e18c7881
Author: Sepherosa Ziehau <sephe at 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
More information about the Commits
mailing list