qcacmn: pipeline prefetch of tx comp ring for BE

pipeline prefetch of tx comp ring for BE

CRs-Fixed: 3272534
Change-Id: Ib1091b5163e75b56be08fbbf87c26b1c77638b76
Bu işleme şunda yer alıyor:
Tallapragada Kalyan
2022-08-21 17:51:59 +05:30
işlemeyi yapan: Madan Koyyalamudi
ebeveyn 7630cc90f0
işleme 3203b7bf92
2 değiştirilmiş dosya ile 15 ekleme ve 8 silme

Dosyayı Görüntüle

@@ -431,15 +431,21 @@ void dp_tx_prefetch_hw_sw_nbuf_desc(struct dp_soc *soc,
}
if (num_avail_for_reap && *last_prefetched_hw_desc) {
dp_tx_comp_get_prefetched_params_from_hal_desc(
soc,
*last_prefetched_hw_desc,
last_prefetched_sw_desc);
*last_prefetched_hw_desc =
hal_srng_dst_prefetch_next_cached_desc(
soc->arch_ops.tx_comp_get_params_from_hal_desc(soc,
*last_prefetched_hw_desc,
last_prefetched_sw_desc);
if ((uintptr_t)*last_prefetched_hw_desc & 0x3f)
*last_prefetched_hw_desc =
hal_srng_dst_prefetch_next_cached_desc(
hal_soc,
hal_ring_hdl,
(uint8_t *)*last_prefetched_hw_desc);
else
*last_prefetched_hw_desc =
hal_srng_dst_get_next_32_byte_desc(hal_soc,
hal_ring_hdl,
(uint8_t *)*last_prefetched_hw_desc);
}
}
#else