alloc_netdev_mqs — allocate network device
struct net_device * alloc_netdev_mqs ( | int sizeof_priv, |
| const char * name, | |
| unsigned char name_assign_type, | |
void (*setup)
(struct net_device *), | |
| unsigned int txqs, | |
unsigned int rxqs); |
int sizeof_privsize of private data to allocate space for
const char * namedevice name format string
unsigned char name_assign_typeorigin of device name
void (*)(struct net_device *) setupcallback to initialize device
unsigned int txqsthe number of TX subqueues to allocate
unsigned int rxqsthe number of RX subqueues to allocate