et_poll(budget)
set events to result of call chipgetintrevents with false
- set nrx to budget
- if bit INTR_RX is set in events
set nrx to result of call et_rxevent with budget
- if bit INTR_TX is set in events
call chiptxreclaim with false
call chiprxfill
- if bit INTR_ERROR is set in events
if result of call chiperrors is true
call chipreset
call chiptxreclaim with true
call chiprxreclaim
call chipinit with ET_INIT_INTROFF
- else if nrx is less than budget
increase nrx by the result of call et_rxevent with budget
call chipintrson