1NETDEV_CAP_TXQUEUE(9) Network device support NETDEV_CAP_TXQUEUE(9)
23
4
NAME
6netdev_cap_txqueue - check if selected tx queue exceeds device queues
7
SYNOPSIS
9u16 netdev_cap_txqueue(struct net_device * dev, u16 queue_index);
10
ARGUMENTS
12dev
13network device
1415
queue_index
16given tx queue index
17
DESCRIPTION
19Returns 0 if given tx queue index >= number of device tx queues,
20otherwise returns the originally passed tx queue index.
21
COPYRIGHT
23Kernel Hackers Manual 3.10 June 2019 NETDEV_CAP_TXQUEUE(9)