From owner-svn-src-head@FreeBSD.ORG Fri Feb 4 22:00:08 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E3BA1065672; Fri, 4 Feb 2011 22:00:06 +0000 (UTC) (envelope-from rwatson@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 579918FC13; Fri, 4 Feb 2011 22:00:06 +0000 (UTC) Received: from [10.255.240.234] (192-5-67-11.sri.com [192.5.67.11]) by cyrus.watson.org (Postfix) with ESMTPSA id 7169846B03; Fri, 4 Feb 2011 17:00:05 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: "Robert N. M. Watson" In-Reply-To: Date: Fri, 4 Feb 2011 14:00:04 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <1F9E5E6D-ADCA-4F43-B04D-54CCBD5AC2A8@freebsd.org> References: <201102031005.p13A5Vwi040803@svn.freebsd.org> To: Michael Tuexen X-Mailer: Apple Mail (2.1082) Cc: svn-src-head@freebsd.org, Randall Stewart , svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r218211 - in head/sys: conf netinet X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2011 22:00:09 -0000 On 4 Feb 2011, at 13:30, Michael Tuexen wrote: >> Hmm. It might be better to add a new NETISR_SCTP and use netisr's = support for multithreading? > That sounds really good. >=20 > Is it possible that different network cards put packets in the same = queue? > That would be helpful in the case of SCTP. >>=20 >> (I'm preparing a patch for review that enhances that a bit so that = protocols can be a bit more expressive in terms of specifying dispatch = policy, etc, currently). > Great! You get a spectrum of possibilities -- protocols can request source = ordering (i.e., ifnet), flow ordering (in which they expose ordering = information but not CPU affinity), or a full CPU affinity. How work is = distributed and what queue it ends up in depends on the model, but yes, = you can request that interfaces distribute packets to various queues, = and that multiple interfaces use consistent distribution models. I = implement this for RSS, where there's a global RSS setup that is = propagated to supporting device drivers so that they can align their = distribution with the network stack's affinity model for connection = groups. Robert