svn commit: r268837 - head/sys/netinet

看板FB_svn作者時間11年前 (2014/07/18 16:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
Author: adrian Date: Fri Jul 18 08:22:13 2014 New Revision: 268837 URL: http://svnweb.freebsd.org/changeset/base/268837 Log: Update the default RSS hash to the Chelsio T5 firmware one - it provides markedly better distribution of IPv6 address/ports than the previous key. The previous key would hash large swaths of the port space for a given source/destination IP address to the same low handful of bits, effectively mapping them to the same queue. This made testing very .. special. Modified: head/sys/netinet/in_rss.c Modified: head/sys/netinet/in_rss.c ============================================================================== --- head/sys/netinet/in_rss.c Fri Jul 18 08:08:45 2014 (r268836) +++ head/sys/netinet/in_rss.c Fri Jul 18 08:22:13 2014 (r268837) @@ -149,16 +149,16 @@ SYSCTL_INT(_net_inet_rss, OID_AUTO, base * * XXXRW: And that we don't randomize it yet! * - * XXXRW: This default is actually the default key from Chelsio T3 cards, as + * XXXRW: This default is actually the default key from Chelsio T5 cards, as * it offers reasonable distribution, unlike all-0 keys which always * generate a hash of 0 (upsettingly). */ -static uint8_t rss_key[RSS_KEYSIZE] = { +static uint8_t rss_key[RSS_KEYSIZE] = { + 0xbe, 0xac, 0x01, 0xfa, 0x6a, 0x42, 0xb7, 0x3b, + 0x80, 0x30, 0xf2, 0x0c, 0x77, 0xcb, 0x2d, 0xa3, + 0xae, 0x7b, 0x30, 0xb4, 0xd0, 0xca, 0x2b, 0xcb, 0x43, 0xa3, 0x8f, 0xb0, 0x41, 0x67, 0x25, 0x3d, 0x25, 0x5b, 0x0e, 0xc2, 0x6d, 0x5a, 0x56, 0xda, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; /* _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
文章代碼(AID): #1JoDk4Qg (FB_svn)