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

NAME

6       alloc_netdev_mq - allocate network device
7

SYNOPSIS

9       struct net_device * alloc_netdev_mq(int sizeof_priv, const char * name,
10                                           void (*setup) (struct net_device *),
11                                           unsigned int queue_count);
12

ARGUMENTS

14       sizeof_priv
15           size of private data to allocate space for
16
17       name
18           device name format string
19
20       setup
21           callback to initialize device
22
23       queue_count
24           the number of subqueues to allocate
25

DESCRIPTION

27       Allocates a struct net_device with private data area for driver use and
28       performs basic initialization. Also allocates subquue structs for each
29       queue on the device at the end of the netdevice.
30
32Kernel Hackers Manual 2.6.         June 2019                ALLOC_NETDEV_MQ(9)
Impressum