DragonFly commits List (threaded) for 2011-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: netisr: Add hashcheck method to check and adjust hw provided hash
commit e6f77b88e961aed05f67575815c0480d45443878
Author: Sepherosa Ziehau <sephe@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]