Rechercher une page de manuel
alloc_netdev_mq
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
alloc_netdev_mq - allocate network deviceSYNOPSIS
- struct net_device * alloc_netdev_mq(int sizeof_priv, const char * name, void (*setup) (struct net_device *), unsigned int queue_count);
ARGUMENTS
sizeof_priv
- size of private data to allocate space for
name
- device name format string
setup
- callback to initialize device
queue_count
- the number of subqueues to allocate
DESCRIPTION
Allocates a struct net_device with private data area for driver use and performs basic initialization. Also allocates subquue structs for each queue on the device at the end of the netdevice.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre