qcacmn: Add logic for allocation and reset of vdev_stats_id
In BE architecture, HW provides basic vdev stats support for upto 48 vdevs. For each vdev, there is vdev_stats_id which represents the id of this vdev on HW. This vdev_stats_id is assigned by host and is conveyed to HW at the time of REO TID Queue setup for the peer. Add logic for allocation and deallocation of vdev_stats_id and convey this id to HW. Change-Id: If5611bf54d057ccf71c6444b5c79a26eb28df87e CRs-Fixed: 3067843
This commit is contained in:

committed by
Madan Koyyalamudi

parent
f76548dd04
commit
6c7fcf1d61
@@ -3315,7 +3315,8 @@ try_desc_alloc:
|
||||
}
|
||||
|
||||
hal_reo_qdesc_setup(soc->hal_soc, tid, ba_window_size, start_seq,
|
||||
hw_qdesc_vaddr, rx_tid->hw_qdesc_paddr, hal_pn_type);
|
||||
hw_qdesc_vaddr, rx_tid->hw_qdesc_paddr, hal_pn_type,
|
||||
vdev->vdev_stats_id);
|
||||
|
||||
qdf_mem_map_nbytes_single(soc->osdev, hw_qdesc_vaddr,
|
||||
QDF_DMA_BIDIRECTIONAL, rx_tid->hw_qdesc_alloc_size,
|
||||
|
Reference in New Issue
Block a user