qcacld-3.0: Update prealloc size for srng from CFG
Update the prealloc size for RXDMA_BUF and REO_DST rings using the ini values which have been configured. Change-Id: Idc53bf8626017dd234767da65e131557f3a5600d CRs-Fixed: 3283991
This commit is contained in:

gecommit door
Madan Koyyalamudi

bovenliggende
daaf54b443
commit
4419bf30e6
@@ -681,6 +681,14 @@ dp_update_mem_size_by_ring_type(struct wlan_dp_prealloc_cfg *cfg,
|
||||
*mem_size = (sizeof(struct reo_destination_ring)) *
|
||||
cfg->num_reo_exception_ring_entries;
|
||||
return;
|
||||
case REO_DST:
|
||||
*mem_size = (sizeof(struct reo_destination_ring)) *
|
||||
cfg->num_reo_dst_ring_entries;
|
||||
return;
|
||||
case RXDMA_BUF:
|
||||
*mem_size = (sizeof(struct wbm_buffer_ring)) *
|
||||
cfg->num_rxdma_buf_ring_entries;
|
||||
return;
|
||||
default:
|
||||
return;
|
||||
}
|
||||
|
Verwijs in nieuw issue
Block a user