Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - ifconfig OACTIVE: (3 Items)
   
ifconfig OACTIVE  
What does the OACTIVE flag mean?

- Mario
RE: ifconfig OACTIVE  


> What does the OACTIVE flag mean?

In io-net it means the stack has sent one or more packets
to the driver to tx which haven't been returned to it yet.

In io-pkt it generally means the driver thinks there's a
tx done interrupt pending.

-seanb

Attachment: Text winmail.dat 2.25 KB
RE: ifconfig OACTIVE  
IFF_OACTIVE can actually be set in either
ifp->if_flags or ifp->if_flags_tx - different
fields.

The driver actually doesn't set IFF_OACTIVE
in ifp->if_flags, although it may drop it
during shutdown.

The use of IFF_OACTIVE in ifp->if_flags_tx
is a bit more obscure.  The BSD driver for
the i82544 driver sets it when it's transmit
descriptor ring is full - see sean's comment
above about pending tx interrupt.  I copied
that behaviour in a recent commit to the
devnp-i82544.so driver.

--
aboyd