Luigi Rizzo wrote: > BTW if you use polling, you have to be careful in the place where you > put the call to if_tx_rdy() to make sure that it catches the tx queue > becoming empty only once and not at every polling cycle.
How about at the very end of sis_intr(), as a new "else" branch of the queue length check, like this: if (ifp->if_snd.ifq_head != NULL) sis_start(ifp); + else + if_tx_ready(ifp); That doesn't seem to be in the codepath that gets executed on each poll, right? > p.s. the soekris boxes are becoming popular, aren't they! They are amazing, I'm really glad the folks on freebsd-small have pointed us at them. Only downside is that you go blind if you look at the case for too long :-) Lars -- Lars Eggert <[EMAIL PROTECTED]> USC Information Sciences Institute
smime.p7s
Description: S/MIME Cryptographic Signature