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

NAME

6       alloc_etherdev_mqs_rh - Allocates and sets up an Ethernet device
7

SYNOPSIS

9       struct net_device * alloc_etherdev_mqs_rh(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

RHEL

33       This function uses ether_setup_rh that also initializes .{min,max}_mtu
34       members to their default values.
35
37Kernel Hackers Manual 3.10         June 2019           ALLOC_ETHERDEV_MQS_R(9)
Impressum