Skip to main content

nic_handler

Function nic_handler 

Source
extern "x86-interrupt" fn nic_handler(
    stack_frame: InterruptStackFrame,
)
Expand description

NIC IRQ handler

Dispatches to the registered NIC device’s handle_interrupt() which reads ICR, tracks link state, and reclaims completed TX buffers. The network stack is expected to call receive() in response (or a future NAPI-style poll can be driven from here).