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

NAME

6       alloc_etherdev_mqs - Allocates and sets up an Ethernet device
7

SYNOPSIS

9       struct net_device * alloc_etherdev_mqs(int sizeof_priv,
10                                              unsigned int txqs,
11                                              unsigned int rxqs);
12

ARGUMENTS

14       sizeof_priv
15           Size of additional driver-private structure to be allocated for
16           this Ethernet device
17
18       txqs
19           The number of TX queues this device has.
20
21       rxqs
22           The number of RX queues this device has.
23

DESCRIPTION

25       Fill in the fields of the device structure with Ethernet-generic
26       values. Basically does everything except registering the device.
27
28       Constructs a new net device, complete with a private data area of size
29       (sizeof_priv). A 32-byte (not bit) alignment is enforced for this
30       private data area.
31
33Kernel Hackers Manual 2.6.         June 2019             ALLOC_ETHERDEV_MQS(9)
Impressum