1. NAME

napi_schedule_prep - check if napi can be scheduled

2. SYNOPSIS

bool napi_schedule_prep(struct napi_struct *  n );

3. ARGUMENTS

n
    napi context

4. 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.

5. COPYRIGHT