Rechercher une page de manuel
netif_napi_add
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
netif_napi_add - initialize a napi contextSYNOPSIS
- void netif_napi_add(struct net_device * dev, struct napi_struct * napi, int (*poll) (struct napi_struct *, int), int weight);
ARGUMENTS
dev
- network device
napi
- napi context
poll
- polling function
weight
- default weight
DESCRIPTION
netif_napi_add must be used to initialize a napi context prior to calling *any* of the other napi related functions.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre