|
@@ -3738,7 +3738,7 @@ uint32_t dp_tx_comp_handler(struct dp_intr *int_ctx, struct dp_soc *soc,
|
|
struct dp_tx_desc_s *head_desc = NULL;
|
|
struct dp_tx_desc_s *head_desc = NULL;
|
|
struct dp_tx_desc_s *tail_desc = NULL;
|
|
struct dp_tx_desc_s *tail_desc = NULL;
|
|
uint32_t num_processed = 0;
|
|
uint32_t num_processed = 0;
|
|
- uint32_t count = 0;
|
|
|
|
|
|
+ uint32_t count;
|
|
uint32_t num_avail_for_reap = 0;
|
|
uint32_t num_avail_for_reap = 0;
|
|
bool force_break = false;
|
|
bool force_break = false;
|
|
|
|
|
|
@@ -3748,6 +3748,7 @@ more_data:
|
|
/* Re-initialize local variables to be re-used */
|
|
/* Re-initialize local variables to be re-used */
|
|
head_desc = NULL;
|
|
head_desc = NULL;
|
|
tail_desc = NULL;
|
|
tail_desc = NULL;
|
|
|
|
+ count = 0;
|
|
|
|
|
|
if (qdf_unlikely(dp_srng_access_start(int_ctx, soc, hal_ring_hdl))) {
|
|
if (qdf_unlikely(dp_srng_access_start(int_ctx, soc, hal_ring_hdl))) {
|
|
dp_err("HAL RING Access Failed -- %pK", hal_ring_hdl);
|
|
dp_err("HAL RING Access Failed -- %pK", hal_ring_hdl);
|
|
@@ -4086,9 +4087,8 @@ dp_is_tx_desc_flush_match(struct dp_pdev *pdev,
|
|
* the outstanding TX data or reset Vdev to NULL in associated TX
|
|
* the outstanding TX data or reset Vdev to NULL in associated TX
|
|
* Desc.
|
|
* Desc.
|
|
*/
|
|
*/
|
|
-static void dp_tx_desc_flush(struct dp_pdev *pdev,
|
|
|
|
- struct dp_vdev *vdev,
|
|
|
|
- bool force_free)
|
|
|
|
|
|
+void dp_tx_desc_flush(struct dp_pdev *pdev, struct dp_vdev *vdev,
|
|
|
|
+ bool force_free)
|
|
{
|
|
{
|
|
uint8_t i;
|
|
uint8_t i;
|
|
uint32_t j;
|
|
uint32_t j;
|
|
@@ -4171,9 +4171,8 @@ dp_tx_desc_reset_vdev(struct dp_soc *soc, struct dp_tx_desc_s *tx_desc,
|
|
TX_DESC_LOCK_UNLOCK(&soc->tx_desc[desc_pool_id].lock);
|
|
TX_DESC_LOCK_UNLOCK(&soc->tx_desc[desc_pool_id].lock);
|
|
}
|
|
}
|
|
|
|
|
|
-static void dp_tx_desc_flush(struct dp_pdev *pdev,
|
|
|
|
- struct dp_vdev *vdev,
|
|
|
|
- bool force_free)
|
|
|
|
|
|
+void dp_tx_desc_flush(struct dp_pdev *pdev, struct dp_vdev *vdev,
|
|
|
|
+ bool force_free)
|
|
{
|
|
{
|
|
uint8_t i, num_pool;
|
|
uint8_t i, num_pool;
|
|
uint32_t j;
|
|
uint32_t j;
|