qcacmn: Enable SW2TCL_CMD ring for data
Enable SW2TCL_CMD ring for data on QCN9000, QCA8074 V2/V1 and IPQ6018 targets. Enabled 4th Tx ring for data enqueue to HW. Transmit completions for packets from CPU0 and CPU3 are routed to WBM2SW Completion ring 2. WB2SW completion ring2 is mapped to CPU3. Change-Id: Ied4c4704e1f8623e909ad45c547a611de26c7ec5
This commit is contained in:

committed by
nshrivas

parent
018b298dba
commit
bfbf27a6e6
@@ -1139,8 +1139,10 @@ static QDF_STATUS dp_tx_hw_enqueue(struct dp_soc *soc, struct dp_vdev *vdev,
|
||||
tx_exc_metadata->sec_type : vdev->sec_type);
|
||||
|
||||
/* Return Buffer Manager ID */
|
||||
uint8_t bm_id = ring_id;
|
||||
hal_ring_handle_t hal_ring_hdl = soc->tcl_data_ring[ring_id].hal_srng;
|
||||
uint8_t bm_id = dp_tx_get_rbm_id(soc, ring_id);
|
||||
|
||||
hal_ring_handle_t hal_ring_hdl = NULL;
|
||||
|
||||
QDF_STATUS status = QDF_STATUS_E_RESOURCES;
|
||||
|
||||
if (!dp_tx_is_desc_id_valid(soc, tx_desc->id)) {
|
||||
@@ -1210,7 +1212,8 @@ static QDF_STATUS dp_tx_hw_enqueue(struct dp_soc *soc, struct dp_vdev *vdev,
|
||||
length, type, (uint64_t)dma_addr,
|
||||
tx_desc->pkt_offset, tx_desc->id);
|
||||
|
||||
hal_ring_hdl = soc->tcl_data_ring[ring_id].hal_srng;
|
||||
hal_ring_hdl = dp_tx_get_hal_ring_hdl(soc, ring_id);
|
||||
|
||||
if (qdf_unlikely(hal_srng_access_start(soc->hal_soc, hal_ring_hdl))) {
|
||||
QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR,
|
||||
"%s %d : HAL RING Access Failed -- %pK",
|
||||
|
Reference in New Issue
Block a user