qcacmn: Add PPE Tx/RX changes
Add support for:- 1. PPE VP entry attach and detach. 2. Per VAP PRI2TID Support 3. Dump the PPE VP HW entries. 4. Add tx completion handling for ppeds descriptors Change-Id: I2a6d0be5bb556663a39a24d17b703877f3b5ad00 CRs-Fixed: 3276981
This commit is contained in:

committed by
Madan Koyyalamudi

parent
878aebaac1
commit
83990186aa
@@ -5201,6 +5201,19 @@ dp_tx_comp_process_desc_list(struct dp_soc *soc,
|
||||
desc = next;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (desc->flags & DP_TX_DESC_FLAG_PPEDS) {
|
||||
if (qdf_likely(txrx_peer))
|
||||
dp_tx_update_peer_basic_stats(txrx_peer,
|
||||
desc->length,
|
||||
desc->tx_status,
|
||||
false);
|
||||
qdf_nbuf_free(desc->nbuf);
|
||||
dp_tx_desc_free(soc, desc, desc->pool_id);
|
||||
desc = next;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (qdf_likely(desc->flags & DP_TX_DESC_FLAG_SIMPLE)) {
|
||||
struct dp_pdev *pdev = desc->pdev;
|
||||
|
||||
@@ -5424,6 +5437,10 @@ more_data:
|
||||
continue;
|
||||
}
|
||||
tx_desc->buffer_src = buffer_src;
|
||||
|
||||
if (tx_desc->flags & DP_TX_DESC_FLAG_PPEDS)
|
||||
goto add_to_pool2;
|
||||
|
||||
/*
|
||||
* If the release source is FW, process the HTT status
|
||||
*/
|
||||
@@ -5489,6 +5506,7 @@ more_data:
|
||||
add_to_pool:
|
||||
DP_HIST_PACKET_COUNT_INC(tx_desc->pdev->pdev_id);
|
||||
|
||||
add_to_pool2:
|
||||
/* First ring descriptor on the cycle */
|
||||
if (!head_desc) {
|
||||
head_desc = tx_desc;
|
||||
|
Reference in New Issue
Block a user