CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2015/12/27 22:49:15

Modified files:
        sys/dev/ic     : re.c rtl81x9reg.h 
        sys/dev/pci    : if_re_pci.c 

Log message:
Rework re_start and re_txeof to only check the producer/consumer ring
positions when deciding how much work to do, and to adjust rl_tx_free with
atomic operations; split the flag that indicates whether we're using
timer based interrupts or not out into a separate field so it can be
changed from interrupt context without needing a lock; take the kernel
lock when calling re_init and re_start from interrupt context; add an
interrupt barrier in re_stop; and finally mark the interrupt handler
as mpsafe.

started by Jim Smith a while ago, mostly finished up at n2k15
tested by dlg@, chris@ and Dimitris Papastamos on various hardware
ok dlg@

Reply via email to