From owner-svn-src-user@FreeBSD.ORG Mon Nov 3 06:25:02 2008 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95C8F106567F; Mon, 3 Nov 2008 06:25:02 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8461F8FC1E; Mon, 3 Nov 2008 06:25:02 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mA36P2Fs058626; Mon, 3 Nov 2008 06:25:02 GMT (envelope-from kmacy@svn.freebsd.org) Received: (from kmacy@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mA36P2dc058625; Mon, 3 Nov 2008 06:25:02 GMT (envelope-from kmacy@svn.freebsd.org) Message-Id: <200811030625.mA36P2dc058625@svn.freebsd.org> From: Kip Macy Date: Mon, 3 Nov 2008 06:25:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r184582 - user/kmacy/HEAD_fast_xmit/sys/net X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2008 06:25:02 -0000 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);