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_priv
size of private data to allocate space for
const char * name
device name format string
unsigned char name_assign_type
origin of device name
void (*)(struct net_device *) setup
callback to initialize device
unsigned int txqs
the number of TX subqueues to allocate
unsigned int rxqs
the number of RX subqueues to allocate