Răsfoiți Sursa

qca-wifi: Unmap nbuf while processing Tx completion

For mcast-enhancement, nbuf mapping is done once.
The nbuf is cloned as per the number of clients.
After queueing the pkt to HW, the nbuf should not
be unmapped immediately.The correct place to unmap
the nbuf is in the Tx completion path.

Change-Id: I6c45967b53e1d6db5a7ebf77c6df735c1a41d642
Debasis Das 4 ani în urmă
părinte
comite
1beaf3500a
1 a modificat fișierele cu 0 adăugiri și 1 ștergeri
  1. 0 1
      dp/wifi3.0/dp_txrx_me.c

+ 0 - 1
dp/wifi3.0/dp_txrx_me.c

@@ -460,7 +460,6 @@ dp_tx_me_send_convert_ucast(struct cdp_soc_t *soc_hdl, uint8_t vdev_id,
 	}
 	qdf_mem_free(seg_info_head);
 
-	qdf_nbuf_unmap(pdev->soc->osdev, nbuf, QDF_DMA_TO_DEVICE);
 	qdf_nbuf_free(nbuf);
 	dp_vdev_unref_delete(soc, vdev, DP_MOD_ID_MCAST2UCAST);
 	return new_mac_cnt;