napi_schedule_prep (9) - Linux Man Pages
napi_schedule_prep: check if NAPI can be scheduled
napi_schedule_prep - check if NAPI can be scheduled
bool napi_schedule_prep(struct napi_struct
- NAPI context
Test if NAPI routine is already running, and if not mark it as running. This is used as a condition variable to insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.