alloc_etherdev_mqs (9) - Linux Man Pages
alloc_etherdev_mqs: Allocates and sets up an Ethernet device
alloc_etherdev_mqs - Allocates and sets up an Ethernet device
struct net_device * alloc_etherdev_mqs(int
sizeof_priv, unsigned int txqs, unsigned int rxqs);
- Size of additional driver-private structure to be allocated for this Ethernet device
- The number of TX queues this device has.
- The number of RX queues this device has.
Fill in the fields of the device structure with Ethernet-generic values. Basically does everything except registering the device.