table of contents
ALLOC_NETDEV_MQS(9) | Network device support | ALLOC_NETDEV_MQS(9) |
NAME¶
alloc_netdev_mqs - allocate network device
SYNOPSIS¶
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);
ARGUMENTS¶
int sizeof_priv
const char * name
unsigned char name_assign_type
void (*)(struct net_device *) setup
unsigned int txqs
unsigned int rxqs
DESCRIPTION¶
Allocates a struct net_device with private data area for driver use and performs basic initialization. Also allocates subqueue structs for each queue on the device.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |