Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Nov 1997 04:43:42 -0800
From:      David Greenman <dg@root.com>
To:        erakupa@kk.etx.ericsson.se (ETX-B-SL Martti Kuparinen)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: IFF_OACTIVE for fxp 
Message-ID:  <199711121243.EAA06966@implode.root.com>
In-Reply-To: Your message of "Wed, 12 Nov 1997 13:02:56 %2B0100." <199711121202.NAA00859@kk662.kk.etx.ericsson.se> 

next in thread | previous in thread | raw e-mail | index | archive | help
>I am running 2.2.5-RELEASE with 4 EtherExpress Pro 10/100B
>cards (the fxp driver).
>
>But why, oh why isn't the IFF_OACTIVE flag set when the card's
>transmit buffer is full? I would need this piece of information
>in a priority scheduler I have written...
>
>How can I check if the card's write buffer is full? Or do I have
>to add somewhere "ifp->if_flags |= IFF_OACTIVE" ?

   It's not set because it is optional and because it is higher overhead to
set/clear than it is to just return when we run out of buffers.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711121243.EAA06966>