1NAPI_SCHEDULE_PREP(9) Network device support NAPI_SCHEDULE_PREP(9)
23
4
NAME
6napi_schedule_prep - check if napi can be scheduled
7
SYNOPSIS
9int napi_schedule_prep(struct napi_struct * n);
10
ARGUMENTS
12n
13napi context
14
DESCRIPTION
16Test if NAPI routine is already running, and if not mark it as running.
17This is used as a condition variable insure only one NAPI poll instance
18runs. We also make sure there is no pending NAPI disable.
19
COPYRIGHT
21Kernel Hackers Manual 2.6. November 2011 NAPI_SCHEDULE_PREP(9)