git: netisr: Add hashcheck method to check and adjust hw provide

看板DFBSD_commit作者時間14年前 (2011/07/22 19:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1EALXpSx (DFBSD_commit)