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

NAME

6       alloc_netdev_mqs - allocate network device
7

SYNOPSIS

9       struct net_device * alloc_netdev_mqs(int sizeof_priv,
10                                            const char * name,
11                                            void (*setup) (struct net_device *),
12                                            unsigned int txqs,
13                                            unsigned int rxqs);
14

ARGUMENTS

16       sizeof_priv
17           size of private data to allocate space for
18
19       name
20           device name format string
21
22       setup
23           callback to initialize device
24
25       txqs
26           the number of TX subqueues to allocate
27
28       rxqs
29           the number of RX subqueues to allocate
30

DESCRIPTION

32       Allocates a struct net_device with private data area for driver use and
33       performs basic initialization. Also allocates subquue structs for each
34       queue on the device.
35
37Kernel Hackers Manual 2.6.         June 2019               ALLOC_NETDEV_MQS(9)
Impressum