CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/05/18 06:26:14

Modified files:
        sys/dev/ic     : qwx.c qwxvar.h 

Log message:
Avoid calling bus_dmamap_destroy() from interrupt context in qwx(4).

Keep Rx TID DMA memory allocated until the interface goes down,
rather than freeing DMA memory in interrupt context.

Fixes splassert failures reported in dmesg because of qwx(4), such as:

splassert: vm_map_assert_wrlock_ln: want 0 have 4
splassert: uvm_mapent_alloc: want 0 have 4
splassert: assertwaitok: want 0 have 4

Root cause of problem in qwx(4) pointed out by kettenis@, who also
reviewed several diffs until I arrived at a correct fix.

ok kettenis@ phessler@

Reply via email to