HomeFreeBSD

netmap: vtnet: honor NM_IRQ_RESCHED

Description

netmap: vtnet: honor NM_IRQ_RESCHED

The netmap_rx_irq() function may return NM_IRQ_RESCHED to inform the
driver that more work is pending, and that netmap expects netmap_rx_irq()
to be called again as soon as possible.
This change implements this behaviour in the vtnet driver.

MFC after: 1 week

Details

Provenance
vmaffioneAuthored on Jun 3 2020, 5:09 AM
Parents
rG1dccf71b4b6d: Remove unnecessary WITNESS check in x86 bus_dma
Branches
Unknown
Tags
Unknown

Event Timeline