table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
NAPI_SCHEDULE_PREP(9) | Network device support | NAPI_SCHEDULE_PREP(9) |
NAME¶
napi_schedule_prep - check if NAPI can be scheduledSYNOPSIS¶
bool
napi_schedule_prep(struct napi_struct * n);
ARGUMENTS¶
nNAPI context
DESCRIPTION¶
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.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |