From owner-freebsd-hackers Wed May 24 11:43:50 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 8E63937BD2A for ; Wed, 24 May 2000 11:43:45 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id MAA15766; Wed, 24 May 2000 12:43:43 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id MAA54054; Wed, 24 May 2000 12:42:36 -0600 (MDT) Message-Id: <200005241842.MAA54054@harmony.village.org> To: Duncan Barclay Subject: Re: xxx_stop and ifq->if_snd in NIC drivers Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Tue, 23 May 2000 21:48:46 BST." References: Date: Wed, 24 May 2000 12:42:36 -0600 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Duncan Barclay writes: : In a wireless NIC driver should one drain the output queue when the interface is : stopped? I've been perusing /sys/dev/awi.c and the output queue is drained in : that driver. It depends on how the interface is stopped. If it is being stopped a few milliseconds before it loses power, I don't think it would make sense to drain anything... If it is just ifconfig down, then it likely makes sense. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message