summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorbings <bings@codeaurora.org>2017-08-09 16:44:10 +0800
committersnandini <snandini@codeaurora.org>2017-08-24 07:42:32 -0700
commit36c98eeb6a4e564df54290ae3ec57cf8f6e23934 (patch)
tree882da5d75d98bb13183d1cac583426523008399d /tools/perf/scripts/python
parent45482824fe614db600df0a5b472ed1ba04247bb8 (diff)
qcacmn: Fix race condition that Tx is paused by flow control forever
When hdd_get_tx_resource is called, if free Tx desc is lower than low water mark, vdev->os_q_paused will be set as 1 and WLAN_STOP_ALL_NETIF_QUEUE will be triggered after a while. Before WLAN_STOP_ALL_NETIF_QUEUE is triggered, if ol_tx_flow_ct_unpause_os_q is called, WLAN_WAKE_ALL_NETIF_QUEUE will be triggered and vdev->os_q_paused will be set as 0. In such case there will be no flow control unpaused forever. Tx should be paused by flow control when Tx desc is lower than low water mark, and unpaused when Tx desc is bigger than high water mark or Tx is already paused by flow control. Change-Id: Ib60139fd94a4fb88c92a7f8aaf886ae9d3ca4c75 CRs-Fixed: 2090475
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions