NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
re: kern/58168: IFF_OACTIVE semantics and replacement plan is unclear
> in the old method, IFF_OACTIVE is an driver-internal thing to say
> "i'm sending a packet".
>
> how it's used is upto each driver.
>
> replacement is to put it into driver-internal data, if you need it,
> but it's not always wanted or useful. as the TODO.smpnet says, it
> needs to stop being part of if_flags, but what you do instead is a
> driver specific answer. (perhaps updating TODO.smpnet to say that
> the semantics are driver specific would suffice here?)
taylor pointed out that net/if.c does pay attention to this
flag. it won't call if_start if it is set, assuming that
the device is already running the queue.
that check, if needed, should also be moved into the device
if_start() if not already there.
.mrg.
Home |
Main Index |
Thread Index |
Old Index