|
@@ -3466,6 +3466,8 @@ struct dp_fisa_rx_sw_ft {
|
|
|
uint32_t cur_aggr_gso_size;
|
|
|
struct udphdr *head_skb_udp_hdr;
|
|
|
uint16_t frags_cumulative_len;
|
|
|
+ /* debug delete count */
|
|
|
+ uint32_t del_count;
|
|
|
/* CMEM parameters */
|
|
|
uint32_t cmem_offset;
|
|
|
uint32_t metadata;
|
|
@@ -3479,6 +3481,7 @@ 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
|
|
|
+#define MAX_FSE_LRU_DELETE_HISTORY 16
|
|
|
/**
|
|
|
* struct fse_cache_flush_history - Debug history cache flush
|
|
|
* @timestamp: Entry update timestamp
|
|
@@ -3491,6 +3494,32 @@ struct fse_cache_flush_history {
|
|
|
uint32_t flows_deleted;
|
|
|
};
|
|
|
|
|
|
+#ifdef WLAN_SUPPORT_RX_FISA_HIST
|
|
|
+/**
|
|
|
+ * struct fse_lru_delete_history_entry - lru deletion history
|
|
|
+ * hashed_idx - hased index to be deleted and updated
|
|
|
+ *
|
|
|
+ */
|
|
|
+struct fse_lru_delete_history_entry {
|
|
|
+ uint32_t hashed_idx;
|
|
|
+ uint64_t eviction_timestamp;
|
|
|
+ struct cdp_rx_flow_tuple_info evicted_flow_tuple_info;
|
|
|
+ struct cdp_rx_flow_tuple_info added_flow_tuple_info;
|
|
|
+};
|
|
|
+
|
|
|
+/**
|
|
|
+ * struct fse_lru_delete_history - fse lru delete debug history
|
|
|
+ * current_index - current index to be updated
|
|
|
+ * entry - array of history index
|
|
|
+ */
|
|
|
+
|
|
|
+struct fse_lru_delete_history {
|
|
|
+ uint32_t current_index;
|
|
|
+ struct fse_lru_delete_history_entry entry[MAX_FSE_LRU_DELETE_HISTORY];
|
|
|
+};
|
|
|
+
|
|
|
+#endif
|
|
|
+
|
|
|
struct dp_rx_fst {
|
|
|
/* Software (DP) FST */
|
|
|
uint8_t *base;
|
|
@@ -3517,6 +3546,9 @@ struct dp_rx_fst {
|
|
|
/* Allow FSE cache flush cmd to FW */
|
|
|
bool fse_cache_flush_allow;
|
|
|
struct fse_cache_flush_history cache_fl_rec[MAX_FSE_CACHE_FL_HST];
|
|
|
+#ifdef WLAN_SUPPORT_RX_FISA_HIST
|
|
|
+ struct fse_lru_delete_history lru_delete_history;
|
|
|
+#endif
|
|
|
/* FISA DP stats */
|
|
|
struct dp_fisa_stats stats;
|
|
|
|
|
@@ -3528,7 +3560,6 @@ struct dp_rx_fst {
|
|
|
uint32_t cmem_ba;
|
|
|
qdf_spinlock_t dp_rx_sw_ft_lock[MAX_REO_DEST_RINGS];
|
|
|
qdf_event_t cmem_resp_event;
|
|
|
- bool flow_deletion_supported;
|
|
|
bool fst_in_cmem;
|
|
|
bool pm_suspended;
|
|
|
};
|