svn commit: r184582 - user/kmacy/HEAD_fast_xmit/sys/net

Kip Macy kmacy at FreeBSD.org
Sun Nov 2 22:25:02 PST 2008


Author: kmacy
Date: Mon Nov  3 06:25:02 2008
New Revision: 184582
URL: http://svn.freebsd.org/changeset/base/184582

Log:
  dport is not the problem that netperf is seeing - the issue is with the control connection and the
  data connection going to different hosts - something that is intrinsic to hashing ports

Modified:
  user/kmacy/HEAD_fast_xmit/sys/net/flowtable.c

Modified: user/kmacy/HEAD_fast_xmit/sys/net/flowtable.c
==============================================================================
--- user/kmacy/HEAD_fast_xmit/sys/net/flowtable.c	Mon Nov  3 06:06:22 2008	(r184581)
+++ user/kmacy/HEAD_fast_xmit/sys/net/flowtable.c	Mon Nov  3 06:25:02 2008	(r184582)
@@ -388,9 +388,8 @@ ipv4_flow_lookup_hash_internal(struct mb
 		proto = sport = dport = 0;
 
 	((uint16_t *)key)[0] = sport;
-#if 0	
 	((uint16_t *)key)[1] = dport; 
-#endif	
+
 	hash = hashword(key, 3, hashjitter + proto);
 	CTR5(KTR_SPARE3, "proto=%d hash=%x key[0]=%x sport=%d dport=%d\n", proto, hash, key[0], sport, dport);
 	


More information about the svn-src-user mailing list