CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/12/03 02:51:52
Modified files:
sys/dev/pci : if_cas.c
Log message:
Rework cas_start to check for space on the ring before dequeueing and drop
the packet if encap fails, use m_defrag if the mbuf is too fragmented,
adjust sc_tx_cnt using atomic operations, hold the kernel lock while calling
cas_init and cas_start from the interrupt handler, use an interrupt barrier
in cas_stop, and finally mark the interupt handler mpsafe.
encouragement from dlg@ and kettenis@