1ALLOC_ETHERDEV_MQ(9)        Network device support        ALLOC_ETHERDEV_MQ(9)
2
3
4

NAME

6       alloc_etherdev_mq - Allocates and sets up an Ethernet device
7

SYNOPSIS

9       struct net_device * alloc_etherdev_mq(int sizeof_priv,
10                                             unsigned int queue_count);
11

ARGUMENTS

13       sizeof_priv
14           Size of additional driver-private structure to be allocated for
15           this Ethernet device
16
17       queue_count
18           The number of queues this device has.
19

DESCRIPTION

21       Fill in the fields of the device structure with Ethernet-generic
22       values. Basically does everything except registering the device.
23
24       Constructs a new net device, complete with a private data area of size
25       (sizeof_priv). A 32-byte (not bit) alignment is enforced for this
26       private data area.
27
29Kernel Hackers Manual 2.6.       November 2011            ALLOC_ETHERDEV_MQ(9)
Impressum