Rechercher une page de manuel
alloc_etherdev_mq
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
alloc_etherdev_mq - Allocates and sets up an Ethernet deviceSYNOPSIS
- struct net_device * alloc_etherdev_mq(int sizeof_priv, unsigned int queue_count);
ARGUMENTS
sizeof_priv
- Size of additional driver-private structure to be allocated for this Ethernet device
queue_count
- The number of queues this device has.
DESCRIPTION
Fill in the fields of the device structure with Ethernet-generic values. Basically does everything except registering the device.
Constructs a new net device, complete with a private data area of size (sizeof_priv). A 32-byte (not bit) alignment is enforced for this private data area.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre