call intr_tx_locked from start, not from intr_tx; this is the first step in reworking the TX logic to not use per-packet interrupts
Rearrange the code some to try to make it a little easier to navigate.
More rearrangement.
Rework interrupt attach/detach so it's easier to remove single interrupt handlers
Typos
More typos
More typos
Don't use TX interrupt
Since I'm no longer enabling TX interrupt, I can leave the intr_tx() function as-is for now.
When we see TX teardown, that marked buffer should be reclaimed
Separate RX teardown and TX teardown processing; since TX is no longer interrupt-driven, this can be done very differently
Typos
RX teardown shouldn't wait for TX and vice versa
We don't need to reclaim active buffers at stop; we can instead arrange to requeue them at init; this should cause stalled TX packets to get sent after a watchdog timeout.
Try RX/TX teardown without releasing the lock; reclaim RX buffers at teardown for the moment until I can rework the RX intr to properly reclaim just the teardown buffer.
Stop enabling TX interrupts
Try just doing a teardown/restart for a fast watchdog TX kick
Spelling
Spelling for real
Try re-enabling DMA at watchdog kick.