Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Nov 2008 06:25:02 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r184582 - user/kmacy/HEAD_fast_xmit/sys/net
Message-ID:  <200811030625.mA36P2dc058625@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 	



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811030625.mA36P2dc058625>