qcacmn: Include DS tx desc usage in global desc limit check

Make sure the global tx desc usage limit is honored by
direct switch as well.

Change-Id: Ie84edb08a8bd6c6a18338caf21328245bd70a8bc
CRs-Fixed: 3486130
This commit is contained in:
Pavankumar Nandeshwar
2023-05-04 05:32:43 -07:00
committad av Madan Koyyalamudi
förälder 1214390842
incheckning 89f62ba1f3
2 ändrade filer med 83 tillägg och 26 borttagningar

Visa fil

@@ -5646,6 +5646,8 @@ dp_tx_comp_process_desc_list(struct dp_soc *soc,
nbuf = desc->nbuf;
dp_tx_nbuf_dev_queue_free_no_flag(&h, nbuf);
dp_tx_desc_free(soc, desc, desc->pool_id);
__dp_tx_outstanding_dec(soc);
} else {
nbuf = dp_ppeds_tx_desc_free(soc, desc);
dp_tx_nbuf_dev_queue_free_no_flag(&h, nbuf);