Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:netif_tx_disable

Proto:static inline void netif_tx_disable(struct net_device *dev)

Type:void

Parameter:

TypeParameterName
struct net_device *dev
4077  local_bh_disable()
4078  cpu = smp_processor_id()
4079  When i < num_tx_queues cycle
4080  txq = netdev_get_tx_queue(dev, i)
4082  __netif_tx_lock(txq, cpu)
4083  netif_tx_stop_queue(txq)
4084  __netif_tx_unlock(txq)
4086  local_bh_enable()