From owner-freebsd-current@FreeBSD.ORG Fri Nov 25 14:33:07 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4D9B16A41F; Fri, 25 Nov 2005 14:33:07 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id F377743D64; Fri, 25 Nov 2005 14:33:06 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 1A2001FFAD1; Fri, 25 Nov 2005 15:33:06 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id 6AC621FF931; Fri, 25 Nov 2005 15:33:03 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 0044B444F50; Fri, 25 Nov 2005 14:29:15 +0000 (UTC) Date: Fri, 25 Nov 2005 14:29:15 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Matthew Dillon In-Reply-To: <200511242329.jAONTEkr055790@apollo.backplane.com> Message-ID: <20051125142713.M23990@maildrop.int.zabbadoz.net> References: <200511231406.06282.jhb@freebsd.org> <200511242329.jAONTEkr055790@apollo.backplane.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: FreeBSD current mailing list Subject: Re: nve locking fixes round 2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Nov 2005 14:33:07 -0000 On Thu, 24 Nov 2005, Matthew Dillon wrote: Hi, > :Ok, now that the first set of locking overhaul is in the tree, can folks with > :working nve(4) adapters test the patch referenced below and make sure there > :are no regressions. Having the IFF_UP fiddling turned off may or may not > :help folks getting the TX timeouts as well, btw, so if people are feeling > :brave they can try this patch as well. Note it is only applicable to recent > :current. > : > :http://www.FreeBSD.org/~jhb/patches/nve_locking.patch > : > :-- > :John Baldwin <>< http://www.FreeBSD.org/~jhb/ > :"Power Users Use the Power to Serve" = http://www.FreeBSD.org > > The reason I set sc->pending_txs to 0 in DFly after the reinit is > because when a watchdog timeout occurs and you reset the device, > *ALL* mbufs still sitting in the transmit ring are lost. They will > never be acknowledged, ever. So pending_txs will never drop back to 0 on > its own. This is what led to continuous watchdog timeout reports > when, in fact, only one timeout actually occured. the problem is that with some versions of the hardware you are not even able to get the first packet out. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT