函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\netdevice.h Create Date:2022-07-27 07:03:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:netdev_get_tx_queue

函数原型:static inline struct netdev_queue *netdev_get_tx_queue(const struct net_device *dev, unsigned int index)

返回类型:struct netdev_queue

参数:

类型参数名称
const struct net_device *dev
unsigned intindex
2137  返回:Cache lines mostly used on transmit path[index]
调用者
名称描述
skb_get_tx_queue
netif_tx_schedule_all
netif_start_queue允许发送
netif_tx_start_all_queues
netif_wake_queue重启发送
netif_tx_wake_all_queues
netif_stop_queue停止发送数据包
netif_queue_stopped测试如果发送队列阻塞
netdev_sent_queuedev_sent_queue - report the number of bytes queued to hardware*@dev: network device*@bytes: number of bytes queued to the hardware device queue* Report the number of bytes queued for sending/completion to the network* device hardware queue
__netdev_sent_queue
netdev_completed_queuedev_completed_queue - report bytes and packets completed by device*@dev: network device*@pkts: actual number of packets sent over the medium*@bytes: actual number of bytes sent over the medium* Report the number of bytes and packets transmitted by the
netdev_reset_queue重置网络设备的数据包和字节计数
netif_start_subqueue_start_subqueue - allow sending packets on subqueue*@dev: network device*@queue_index: sub queue index* Start individual transmit queue of a device with multiple transmit queues.
netif_stop_subqueue_stop_subqueue - stop sending packets on subqueue*@dev: network device*@queue_index: sub queue index* Stop individual transmit queue of a device with multiple transmit queues.
__netif_subqueue_stopped_subqueue_stopped - test status of subqueue*@dev: network device*@queue_index: sub queue index* Check individual transmit queue of a device with multiple transmit queues.
netif_wake_subqueue_wake_subqueue - allow sending packets on subqueue*@dev: network device*@queue_index: sub queue index* Resume individual transmit queue of a device with multiple transmit queues.
netif_trans_updatelegacy drivers only, netdev_start_xmit() sets txq->trans_start
netif_tx_lock抢网络设备发送锁
netif_tx_unlock
netif_tx_disable
qdisc_reset_all_tx_gtReset all TX qdiscs greater than index of a device.
qdisc_all_tx_emptyAre all TX queues of the device empty?
qdisc_tx_changingAre any of the TX qdiscs changing?
qdisc_tx_is_noopIs the device using the noop qdisc on all queues?