qca-wifi: Drop excessive PPDU status buffers

When CPU cores are fully loaded, PPDU stats process workqueue
is not getting enough time, resulting in excessive backlog of
PPDU status buffers. Check and drop buffers if the backlog is
beyond a threshold.

Change-Id: Ideef46cb4eec54dcd5a8315f36f2206653d81659
这个提交包含在:
Karunakar Dasineni
2019-07-25 07:34:20 -07:00
父节点 0e1d8dd797
当前提交 505d7d9c6c
修改 2 个文件,包含 39 行新增18 行删除

查看文件

@@ -21,6 +21,8 @@
#ifdef WLAN_TX_PKT_CAPTURE_ENH
#define DP_TX_PPDU_PROC_MAX_DEPTH 512
struct dp_soc;
struct dp_pdev;
struct dp_vdev;
@@ -39,11 +41,13 @@ struct dp_pdev_tx_capture {
STAILQ_HEAD(, ppdu_info) ppdu_stats_defer_queue;
uint32_t ppdu_stats_queue_depth;
uint32_t ppdu_stats_defer_queue_depth;
uint32_t ppdu_stats_next_sched;
qdf_spinlock_t msdu_comp_q_list_lock;
uint32_t missed_ppdu_id;
uint32_t last_msdu_id;
qdf_event_t miss_ppdu_event;
uint32_t ppdu_dropped;
};
/* Tx TID */