1NAPI_SCHEDULE_PREP(9)       Network device support       NAPI_SCHEDULE_PREP(9)
2
3
4

NAME

6       napi_schedule_prep - check if napi can be scheduled
7

SYNOPSIS

9       bool napi_schedule_prep(struct napi_struct * n);
10

ARGUMENTS

12       n
13           napi context
14

DESCRIPTION

16       Test if NAPI routine is already running, and if not mark it as running.
17       This is used as a condition variable insure only one NAPI poll instance
18       runs. We also make sure there is no pending NAPI disable.
19
21Kernel Hackers Manual 3.10         June 2019             NAPI_SCHEDULE_PREP(9)
Impressum