git: netisr: Add hashcheck method to check and adjust hw provided hash
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Fri Jul 22 03:34:01 PDT 2011
commit e6f77b88e961aed05f67575815c0480d45443878
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Fri Jul 22 18:29:11 2011 +0800
netisr: Add hashcheck method to check and adjust hw provided hash
Currently only IPv4 provides the non-default hashcheck method
For IPv4's hashcheck:
- Fragements are always delivered to CPU0
- non-TCP and non-UDP packets are passed to software for hash calculation
Summary of changes:
sys/net/if_ethersubr.c | 12 +++++++-----
sys/net/netisr.c | 38 ++++++++++++++++++++++++++++++++++++++
sys/net/netisr.h | 5 ++++-
sys/net/netmsg.h | 3 +++
sys/netinet/ip_demux.c | 27 +++++++++------------------
sys/netinet/ip_input.c | 1 +
sys/netinet/ip_var.h | 1 +
7 files changed, 63 insertions(+), 24 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e6f77b88e961aed05f67575815c0480d45443878
--
DragonFly BSD source repository
More information about the Commits
mailing list