Query: alloc_etherdev_mq
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ALLOC_ETHERDEV_MQ(9) Network device support ALLOC_ETHERDEV_MQ(9)NAMEalloc_etherdev_mq - Allocates and sets up an Ethernet deviceSYNOPSISstruct net_device * alloc_etherdev_mq(int sizeof_priv, unsigned int queue_count);ARGUMENTSsizeof_priv Size of additional driver-private structure to be allocated for this Ethernet device queue_count The number of queues this device has.DESCRIPTIONFill 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.COPYRIGHTKernel Hackers Manual 2.6. July 2010 ALLOC_ETHERDEV_MQ(9)