qcacmn: add rx nbuf ipa smmu map/unmap trace

Currently in_use and unmapped flag from rx_desc can not know is
the rx nbuf has done IPA smmu map/unmap accurately.
add rx nbuf IPA smmu map/unmap flag in qdf_nbuf_cb, and use
this flag to check if IPA smmu map/unmap need to be done or not.

Change-Id: I19bbc6cc69ba752ef7c58d41fbe26299ca96d29e
CRs-Fixed: 2731313
This commit is contained in:
Jinwei Chen
2020-07-20 23:10:57 +08:00
کامیت شده توسط snandini
والد fc461df2d5
کامیت d552bfa2cb
7فایلهای تغییر یافته به همراه115 افزوده شده و 3 حذف شده

مشاهده پرونده

@@ -5959,6 +5959,12 @@ void dp_txrx_path_stats(struct dp_soc *soc)
pdev->soc->stats.rx.err.nbuf_sanity_fail);
DP_PRINT_STATS("Rx refill duplicate link desc: %d",
pdev->soc->stats.rx.err.dup_refill_link_desc);
DP_PRINT_STATS("Rx ipa smmu map duplicate: %d",
pdev->soc->stats.rx.err.ipa_smmu_map_dup);
DP_PRINT_STATS("Rx ipa smmu unmap duplicate: %d",
pdev->soc->stats.rx.err.ipa_smmu_unmap_dup);
DP_PRINT_STATS("Rx ipa smmu unmap no pipes: %d",
pdev->soc->stats.rx.err.ipa_unmap_no_pipe);
DP_PRINT_STATS("Reo Statistics");
DP_PRINT_STATS("near_full: %u ", soc->stats.rx.near_full);