table of contents
other versions
- stretch 4.9.168-1
 
| NETDEV_CAP_TXQUEUE(9) | Network device support | NETDEV_CAP_TXQUEUE(9) | 
NAME¶
netdev_cap_txqueue - check if selected tx queue exceeds device queuesSYNOPSIS¶
u16 netdev_cap_txqueue(struct net_device * dev, u16 queue_index);
ARGUMENTS¶
devnetwork device
queue_index
given tx queue index
DESCRIPTION¶
Returns 0 if given tx queue index >= number of device tx queues, otherwise returns the originally passed tx queue index.COPYRIGHT¶
| April 2019 | Kernel Hackers Manual 4.9. |