qcacmn: Allocate memory for fisa pkt history separately

Fisa packet history is around 6KB for each sw fisa
flow entry and this is part of the dp_fisa_rx_sw_ft
structure. The total size of the SW FT as a result is
around 830KB and the higher order memory allocation via
kzalloc for this could fail in low/fragmented memory
scenarios.

Fix is to allocate memory for FISA pkt history separately
and attach it to the SW FT entry.

Change-Id: I7296d7269c1b86ec38ea1668e8a0893335bbdb6f
CRs-Fixed: 2936353
This commit is contained in:
Yeshwanth Sriram Guntuka 2021-04-30 14:54:03 +05:30 • committed by Madan Koyyalamudi
commit 75e691425f

View file

@ -3042,7 +3042,7 @@ struct dp_fisa_rx_sw_ft {
qdf_time_t flow_init_ts;
qdf_time_t last_accessed_ts;
#ifdef WLAN_SUPPORT_RX_FISA_HIST
struct fisa_pkt_hist pkt_hist;
struct fisa_pkt_hist *pkt_hist;
#endif
};