Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\sch_generic.h Create Date:2022-07-28 06:07:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Is the device using the noop qdisc on all queues?

Proto:static inline bool qdisc_tx_is_noop(const struct net_device *dev)

Type:bool

Parameter:

TypeParameterName
const struct net_device *dev
771  When i < num_tx_queues cycle
772  txq = netdev_get_tx_queue(dev, i)
773  If cu_access_pointer() - fetch RCU pointer with no dereferencing*@p: The pointer to read* Return the value of the specified RCU-protected pointer, but omit the* lockdep checks for being in an RCU read-side critical section(qdisc) != noop_qdisc Then Return false
776  Return true