netif_napi_add — initialize a napi context
void netif_napi_add
(struct net_device * dev, struct napi_struct * napi, int (*poll)
(struct napi_struct *, int), int weight);
network device
napi context
polling function
default weight
netif_napi_add must be used to initialize a napi context prior to calling *any* of the other napi related functions.