table of contents
other versions
- wheezy 3.2.78-1
NAPI_SCHEDULE_PREP(9) | Network device support | NAPI_SCHEDULE_PREP(9) |
NAME¶
napi_schedule_prep - check if napi can be scheduledSYNOPSIS¶
int
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 insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |