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

NAME

6       _netif_napi_add - initialize a napi context
7

SYNOPSIS

9       void _netif_napi_add(struct net_device * dev,
10                            struct napi_struct * napi,
11                            int (*poll) (struct napi_struct *, int),
12                            int weight);
13

ARGUMENTS

15       dev
16           network device
17
18       napi
19           napi context
20
21       poll
22           polling function
23
24       weight
25           default weight
26

DESCRIPTION

28       netif_napi_add must be used to initialize a napi context prior to
29       calling *any* of the other napi related functions.
30
32Kernel Hackers Manual 2.6.         June 2019                _NETIF_NAPI_ADD(9)
Impressum