qcacmn: Monitor Status ring memory optimization

Memory optimization of monitor status ring by allocating buffers during
replenish using alloc_skb (linux API).
It creates buffer of required size rather than 4k size(dev_alloc_skb)

Change-Id: I3ae5e403de28c4570f8ac3b50d3ca878a9e4b2f9
CRs-Fixed: 2733931
This commit is contained in:
Shivani Soni
2020-07-07 09:52:55 +05:30
committed by snandini
parent bd6a237677
commit c4c0a179f6
6 changed files with 71 additions and 68 deletions

View File

@@ -11333,7 +11333,7 @@ static void dp_cfr_filter(struct cdp_soc_t *soc_hdl,
soc->rxdma_mon_status_ring[mac_id]
.hal_srng,
RXDMA_MONITOR_STATUS,
RX_DATA_BUFFER_SIZE,
RX_MON_STATUS_BUF_SIZE,
&htt_tlv_filter);
}
}