qcacmn: Add fse_flush timer handler and fse_flush history handle
Add fse_flush timer handler and fse_flush history handle for FISA FSE cache flush optimization. Change-Id: I860301d6e3105fc547f241e9539fb67b8ea765a7 CRs-Fixed: 2719646
此提交包含在:
@@ -2444,6 +2444,18 @@ struct dp_fisa_rx_sw_ft {
|
||||
};
|
||||
|
||||
#define DP_RX_GET_SW_FT_ENTRY_SIZE sizeof(struct dp_fisa_rx_sw_ft)
|
||||
#define MAX_FSE_CACHE_FL_HST 10
|
||||
/**
|
||||
* struct fse_cache_flush_history - Debug history cache flush
|
||||
* @timestamp: Entry update timestamp
|
||||
* @flows_added: Number of flows added for this flush
|
||||
* @flows_deleted: Number of flows deleted for this flush
|
||||
*/
|
||||
struct fse_cache_flush_history {
|
||||
uint64_t timestamp;
|
||||
uint32_t flows_added;
|
||||
uint32_t flows_deleted;
|
||||
};
|
||||
|
||||
struct dp_rx_fst {
|
||||
/* Software (DP) FST */
|
||||
@@ -2466,6 +2478,9 @@ struct dp_rx_fst {
|
||||
uint32_t del_flow_count;
|
||||
uint32_t hash_collision_cnt;
|
||||
struct dp_soc *soc_hdl;
|
||||
qdf_atomic_t fse_cache_flush_posted;
|
||||
qdf_timer_t fse_cache_flush_timer;
|
||||
struct fse_cache_flush_history cache_fl_rec[MAX_FSE_CACHE_FL_HST];
|
||||
};
|
||||
|
||||
#endif /* WLAN_SUPPORT_RX_FISA */
|
||||
|
新增問題並參考
封鎖使用者