From owner-freebsd-net@FreeBSD.ORG Fri Mar 15 14:43:26 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 96F9EC2 for ; Fri, 15 Mar 2013 14:43:26 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 7529568B for ; Fri, 15 Mar 2013 14:43:26 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id ED20EB943; Fri, 15 Mar 2013 10:43:25 -0400 (EDT) From: John Baldwin To: freebsd-net@freebsd.org Subject: Re: kern/176446: [netinet] [patch] Concurrency in ixgbe driving out-of-order packet process and spurious RST Date: Fri, 15 Mar 2013 09:57:26 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p25; KDE/4.5.5; amd64; ; ) References: <201303141500.r2EF01EQ079753@freefall.freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201303150957.26192.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 15 Mar 2013 10:43:26 -0400 (EDT) Cc: Ryan Stone X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2013 14:43:26 -0000 On Thursday, March 14, 2013 5:59:44 pm Ryan Stone wrote: > What's the benefit in having a both an interrupt thread and task that > performs the same function? It seems to me that having two threads that do > the same job is what is making this so complicated. Yes, yes it is. I have a branch that has changes to interrupt threads where you can have an interrupt handler reschedule itself. That prevents this class of problems as the handler always runs in the interrupt thread. I really should get that patch into HEAD someday. I've posted it to arch@ twice now I think. :( It also fixes interrupt filters to really work properly and be on by default. -- John Baldwin